openapi-generator/samples/server/petstore/spring-mvc-j8-async
wing328 ecf924e78f [Spring] Adds feature useOptional (#5968)
* Adds Valid annotation for request body (#4847)

If useBeanValidation is active, this change will add Valid annotation to ReqeustBody

* Adds generated samples for bean vaildation in spring boot (#4847)

* Adds feature option (#3819)

When you enable the feature useOptional the JavaSpring generator will use type Optional for non required parameters.

* Adds generated sample for #3819

* Adds generated sample for #3819

* Reverts commit for bean validation

* Adds generated sample for #3819

* Reverts commit for bean validation

* Fix alignment

* update spring samples

* update pom.xml to include spring use optional samples

* update artifactId to "spring-boot-beanvalidation"

* rpelace tab with 4-space

* check mvn task result
2017-07-03 17:40:00 +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 [Spring] Adds feature useOptional (#5968) 2017-07-03 17:40:00 +08:00
.swagger-codegen-ignore Spelling fixes 2016-08-27 02:34:33 +03:00
pom.xml updated Spring and Spring Boot dependencies (#5948) 2017-06-29 22:28:08 +08:00
README.md Fix for #2100 - List<String> being generated as List<Enum> (update samples) 2016-02-26 14:00:58 +00:00

Swagger generated server

Spring MVC 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 Spring MVC framework.

The underlying library integrating swagger to Spring-MVC is springfox

You can view the server in swagger-ui by pointing to http://localhost:8002/v2/swagger-ui.html