openapi-generator/samples/server/petstore/springboot
Paŭlo Ebermann 4b9988c4f2 Update samples for several language (just whitespace changes, reordering, VERSION) (#5828)
* Update samples for several languages.

Just whitespace changes and some reordering where the order doesn't matter.

* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
..
.swagger-codegen Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
src/main update spring samples 2017-06-11 15:39:08 +08:00
.swagger-codegen-ignore better enums and dependency update 2016-06-21 16:19:37 +02:00
pom.xml update sample for spring boot 2017-03-21 23:30:54 +08:00
README.md update README 2016-06-03 16:21:37 +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