Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 643 Bytes

File metadata and controls

15 lines (10 loc) · 643 Bytes

Swagger Jetty Example

TBD

Build and Run

Example Application can be built and started with the following command: gradlew run

Do not forget to set JAVA_HOME environment variable to a JDK 1.8 path.

After the application is started, Swagger documentation and REST endpoints are available on the following url: http://localhost:8080/dummy/api/

Creating index.html

  • index.html is created by copying the html from swagger ui and modify all urls
    • In the example from dummy/api to dummy/swagger-ui this have been done by replacing ./ to ../swagger-ui/
    • Modify url to swagger.json in the script (SwaggerUIBundle)