mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
5d32edd964
* WIP: CodegenProperty with XML * WIP: CodegenModel XML bits * WIP: Jackson XML * WIP: Java templating * WIP: Java client withXml flag * WIP: resttemplate work * WIP: withXml only when Jackson is used * WIP: Tabs to spaces * WIP: java-petstore-resttemplate-withxml sample * WIP: language: spring * WIP: language "spring" using library "spring-boot" should include apiPackage in @ComponentScan to detect the API * WIP: javax.xml for non-Jackson Java and enabled payload logging for jersey2 * WIP: updated java petstore samples * WIP: JavaSpring with non-jackson XML * WIP: bin/spring-all-pestore.sh |
||
---|---|---|
.. | ||
.swagger-codegen | ||
src/main | ||
.swagger-codegen-ignore | ||
pom.xml | ||
README.md |
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