openapi-generator/samples/server/petstore/springboot
2016-05-05 15:31:17 +08:00
..
src/main rename spsringboot sh, change permission, add ModelApiResponse.java 2016-05-05 15:31:17 +08:00
pom.xml Add SpringBoot server generator 2016-05-04 16:38:36 +02:00
README.md Add SpringBoot server generator 2016-05-04 16:38:36 +02: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