Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Swagger and Jetty example with Jersey and Guice

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages