File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
src/main/java/org/phoebus/channelfinder Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 199199 <artifactId >micrometer-registry-prometheus</artifactId >
200200 <scope >runtime</scope >
201201 </dependency >
202+ <dependency >
203+ <groupId >io.swagger.core.v3</groupId >
204+ <artifactId >swagger-annotations</artifactId >
205+ <version >2.2.20</version >
206+ </dependency >
202207 </dependencies >
203208 <build >
204209 <!-- read properties from the pom file and add them to the application.properties -->
Original file line number Diff line number Diff line change 2121import java .util .logging .Logger ;
2222
2323import io .swagger .v3 .oas .annotations .OpenAPIDefinition ;
24+ import io .swagger .v3 .oas .annotations .Server ;
2425import org .phoebus .channelfinder .example .PopulateService ;
2526import org .phoebus .channelfinder .processors .ChannelProcessor ;
2627import org .springframework .beans .factory .annotation .Autowired ;
4041@ ComponentScan (basePackages ="org.phoebus.channelfinder" )
4142@ EnableScheduling
4243@ OpenAPIDefinition (
43- servers = arrayOf (Server (url = "/" ))
44+ servers = {
45+ @ Server (url = "/" )
46+ }
4447)
4548@ SpringBootApplication
4649public class Application implements ApplicationRunner {
You can’t perform that action at this time.
0 commit comments