This repository was archived by the owner on Oct 30, 2023. It is now read-only.
File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ java -jar target/swagger-java-dropwizard-sample-app-2.0.0.jar server conf/swagge
7
7
8
8
```
9
9
10
- You can then access swagger at http://localhost:8080/openApi .json or http://localhost:8080/openApi .yaml
10
+ You can then access swagger at http://localhost:8080/openapi .json or http://localhost:8080/openapi .yaml
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
14
14
This will start Jetty embedded on port 8002.
15
15
16
16
### Testing the server
17
- Once started, you can navigate to http://localhost:8002/api/openApi .json to view the Swagger Resource Listing.
17
+ Once started, you can navigate to http://localhost:8002/api/openapi .json to view the Swagger Resource Listing.
18
18
This tells you that the server is up and ready to demonstrate Swagger.
19
19
20
20
### Using the UI
Original file line number Diff line number Diff line change 13
13
<init-param >
14
14
<param-name >jersey.config.server.provider.packages</param-name >
15
15
<!-- adding 'io.swagger.jaxrs2.integration.resources' is sufficent on it own to register the following paths:
16
- /OpenApi .json : OpenApi spec in json
17
- /OpenApi .yaml : OpenApi spec in yaml
18
- /openApi (Accept: : "application/json" : OpenApi spec in json
19
- /openApi (Accept: : "application/yaml" : OpenApi spec in yaml
16
+ /openapi .json : OpenApi spec in json
17
+ /openapi .yaml : OpenApi spec in yaml
18
+ /openapi (Accept: : "application/json" : OpenApi spec in json
19
+ /openapi (Accept: : "application/yaml" : OpenApi spec in yaml
20
20
-->
21
21
<param-value >
22
22
com.fasterxml.jackson.jaxrs.json,io.swagger.jaxrs2.integration.resources,io.swagger.sample.resource
You can’t perform that action at this time.
0 commit comments