forked from loafle/openapi-generator-original
* Moved example string to a dedicated variable in Spring's methodBody template * Created a new exampleString template for JavaSpring * Added a new mustache lambda to trim whitespace in fragments * Added a new lambda to split long fragments into compilable strings * Use newly introduced lambdas in Spring's API template to avoid generating uncompilable example code
OpenAPI generated server
Spring MVC Server
Overview
This server was generated by the OpenAPI Generator project. By using the OpenAPI-Spec, you can easily generate a server stub. This is an example of building a OpenAPI-enabled server in Java using the Spring MVC framework.
The underlying library integrating OpenAPI to Spring-MVC is springfox
You can view the server in swagger-ui by pointing to http://localhost:8002/v2/