openapi-generator/samples/server/petstore/springboot-beanvalidation
2018-01-13 15:54:41 +08:00
..
.swagger-codegen [Java] allow setting boolean getter (is, has, get) in templates (#7344) 2018-01-13 15:19:02 +08:00
src/main Merge remote-tracking branch 'origin/master' into 2.4.0 2018-01-13 15:54:41 +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 Fix starting springboot server from IDE (#7184) 2017-12-16 11:19:31 +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