openapi-generator/samples/server/petstore/springboot-delegate
wing328 e3d04ee01f [Java] remove initialization for optional list property (#5363)
* set list to null in java if not required

* update petstore sample for java server stub

* update sample for msf4j

* add null assignment to new list/map in java
2017-04-11 19:07:48 +08:00
..
src/main [Java] remove initialization for optional list property (#5363) 2017-04-11 19:07:48 +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 Updating samples for spring-stubs, springboot-delegate, springboot-delegate-j8. (#5211) 2017-03-27 15:24:18 +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