openapi-generator/samples/server/petstore/springboot-beanvalidation
elion 20ace869b7 Issue 7151 2.3.0 (#7181)
* Removed redundant version declaration. Upgraded Spring boot dependency version.

* Update samples
2017-12-15 21:04:00 +08:00
..
.swagger-codegen Merge remote-tracking branch 'origin/master' into 2.3.0 2017-07-01 15:47:27 +08:00
src/main update spring petstore samples 2017-12-15 00:02:43 +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 Issue 7151 2.3.0 (#7181) 2017-12-15 21:04:00 +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