openapi-generator/samples/server/petstore/spring-mvc
Elizabeth Thomas 41cfcc6f23 Marking Accept as an optional header (#5622)
* Making Accept Header as not required by default

* Adding the auto-generated spring mvc petstore sample controllers
2017-05-16 16:30:11 +08:00
..
.swagger-codegen Marking Accept as an optional header (#5622) 2017-05-16 16:30:11 +08:00
src/main Marking Accept as an optional header (#5622) 2017-05-16 16:30:11 +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