Skip to content

Swagger 2.0 Integration with Spring REST - Initial Revision

Notifications You must be signed in to change notification settings

indrabasak/rest-springfox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

REST Springfox/Swagger Example

This is a Springfox/Swagger example for documenting REST endpoints.

Build

Execute the following command from the parent directory:

mvn clean install

Once the build completes successfully, you should have the artifact rest-springfox.war in the target folder.

Deploy

You can deploy the rest-springfox.war in a Tomcat web container or any other JEE web container of your choice.

Swagger Endpoints

Once you have successfully deployed the war file, the Swagger endpoints can be accessed at:

  1. Testing Swagger 2.0 JSON API documentation

    http://localhost:8080/rest-springfox/v2/api-docs

  2. Testing Swagger UI

    http://localhost:8080/rest-springfox/swagger-ui.html

If you are interested in knowing more about this project, you can find in my blog 'Swagger for the REST of Us' .

About

Swagger 2.0 Integration with Spring REST - Initial Revision

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages