openapi-generator/samples/server/petstore/spring-mvc
2017-06-11 17:30:53 +08:00
..
.swagger-codegen Marking Accept as an optional header (#5622) 2017-05-16 16:30:11 +08:00
src/main Merge branch 'java-spring-throw-exceptions-#5686' of https://github.com/stevecookform3/swagger-codegen into stevecookform3-java-spring-throw-exceptions 2017-06-11 17:30:53 +08:00
.swagger-codegen-ignore Spelling fixes 2016-08-27 02:34:33 +03:00
pom.xml Merge remote-tracking branch 'origin' into sync_master_230 2017-02-10 23:31:36 +08:00
README.md fix import for java server templates 2016-01-05 15:02:18 +08:00

Swagger generated server

Spring MVC Server

Overview

This server was generated by the swagger-codegen project. By using the OpenAPI-Spec, you can easily generate a server stub. This is an example of building a swagger-enabled server in Java using the Spring MVC framework.

The underlying library integrating swagger to Spring-MVC is springfox

You can view the server in swagger-ui by pointing to http://localhost:8002/v2/swagger-ui.html