openapi-generator/samples/server/petstore/springboot-beanvalidation
2017-11-27 22:12:46 +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 sample 2017-11-27 22:12:46 +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