openapi-generator/samples/server/petstore/springboot-delegate
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 Allows for generation of spring controller code using the delegate pattern (#4439) 2017-01-19 17:58:39 +08:00
pom.xml Updated Spring, Boot, Fox and Cloud dependencies (#5969) 2017-07-03 18:44:22 +08:00
README.md Allows for generation of spring controller code using the delegate pattern (#4439) 2017-01-19 17:58:39 +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