You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/java-dropwizard/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,12 @@ java -jar target/swagger-java-dropwizard-sample-app-2.0.0.jar server conf/swagge
16
16
17
17
```
18
18
19
-
This will start Jetty embedded on port 8002.
19
+
This will start Dropwizard app on port 8080.
20
20
21
21
### Testing the server
22
22
23
-
Once started, you can navigate to http://localhost:8080/openapi.json or http://localhost:8080/openapi.yaml to view the Swagger Resource Listing.
23
+
Once started, you can navigate to http://localhost:8080/api/openapi.json or http://localhost:8080/api/openapi.yaml to view the Swagger Resource Listing.
24
24
This tells you that the server is up and ready to demonstrate Swagger.
25
+
26
+
### Using the UI
27
+
There is an HTML5-based API tool bundled in this sample--you can view it it at [http://localhost:8080](http://localhost:8080). This lets you inspect the API using an interactive UI. You can access the source of this code from [here](https://github.com/swagger-api/swagger-ui)
0 commit comments