forked from loafle/openapi-generator-original
* Migrate annotation.Generated * Upgrade jakarta.servlet and jakarta.validation * Prepare pom.xml for spring boot 3 * Introduce spring-boot-3 sample config. * Create spring-boot-3 sample. * Introduce useSpringBoot3 cli option. * Generate Docs * Add spring milestone repo * Generate Samples * Adjust Unit Tests * Add Spring Boot 3 Support to spring-cloud library * generate spring cloud 3 sample * Remove springfox * Fix typo. * No longer support SpringFox and Swagger1 with Spring Boot > 3.x * Generate Docs * Use Spring Boot 3.0.0-M3 * Generate Samples
850 B
850 B
OpenAPI generated server
Spring Boot 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 SpringBoot framework.
The underlying library integrating OpenAPI to Spring Boot is springdoc. Springdoc will generate an OpenAPI v3 specification based on the generated Controller and Model classes. The specification is available to download using the following url: http://localhost:8080/v3/api-docs/
Start your server as a simple java application
You can view the api documentation in swagger-ui by pointing to http://localhost:8080/swagger-ui.html
Change default port value in application.properties