mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-02 15:00:58 +00:00
* Add default value support to cookie and header params * Generate Samples * Replace "OffsetDateTime.parse(..)" with toString(); * Generate Samples * Revert "Replace "OffsetDateTime.parse(..)" with toString();" This reverts commit 2e37411b305343e99542c094a691e1419a67b1b5. * Format java.util.Date to ISO Date in AbstractJavaCodegen.toDefaultParameterValue * Generate Samples * Generate Samples * Use toParameterDefault() * Generate Samples * Implement testDateTimeFormParameterHasDefaultValue unit test * Add more test coverage. * Remove postProcessParameter() since is has no effect after using toDefaultParameterValue() * Use LocalDate.parse() in toDefaultValue() * Generate Samples * Return a defaultValue only if dateTimeLibrary is java8.
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 SpringBoot is springfox
Start your server as a simple java application
You can view the api documentation in swagger-ui by pointing to http://localhost:80/
Change default port value in application.properties