openapi-generator/samples/server/petstore/springboot-beanvalidation
Christophe Bornet fe2ed67f20 Remove Accept request header from api signature (#6704)
* Remove Accept request header from api signature

* Inject HttpServletRequest to get request header and clean templates

* Use constructor injection for HttpServletRequest

* Implement example in default controller responses
2017-10-27 22:45:30 +08:00
..
.swagger-codegen Merge remote-tracking branch 'origin/master' into 2.3.0 2017-07-01 15:47:27 +08:00
src/main Remove Accept request header from api signature (#6704) 2017-10-27 22:45:30 +08:00
.swagger-codegen-ignore add back petstore sample for spring boot with bean validation 2017-04-19 01:09:14 +08:00
pom.xml Updated Spring, Boot, Fox and Cloud dependencies (#5969) 2017-07-03 18:44:22 +08:00
README.md Adds @Valid to request body for the JavaSpring (#4850) 2017-04-13 17:42:02 +08:00

Swagger generated server

Spring Boot 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 SpringBoot framework.

The underlying library integrating swagger to SpringBoot is springfox

Start your server as an simple java application

You can view the api documentation in swagger-ui by pointing to
http://localhost:8080/

Change default port value in application.properties