mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
fb75996527
* Make java spring controller constructor public. This lets users manually create the controller and inject the delegate in the spring configuration file, instead of letting spring scan for controllers and autowire the delegate. * Ran spring-all-pestore.sh. |
||
---|---|---|
.. | ||
src/main | ||
.swagger-codegen-ignore | ||
pom.xml | ||
README.md |
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