* update parser to 2.0.29
* better handling of null in dereferencing
* update parser to 2.0.30
* update core to newer version
* add new files
* rollback to previous stable version
* remove files
* Fixes for python-experimental NullableShape component
Co-authored-by: Justin Black <justin.a.black@gmail.com>
Originally, this dummy declaration was needed because there was the
possibility of the generated code doesn't use `context.Context` and then
if it imported that package, go compiler complains that and makes an error.
ref: 3ed1aa8e79/modules/swagger-codegen/src/main/resources/go/api.mustache (L30)
However, now this dummy placement is no longer needed because the
generated code always uses `context.Context`.
Signed-off-by: moznion <moznion@mail.moznion.net>
* add missing import, better code format for kotlin generators
* update kotlin workflow
* more kotlin tests
* better code format
* separate kotlin client, server teets
* comment out tests
* Move static logic to initialization method when no RestTemplate is provided.
Otherwise, use the settings from the RestTemplate that was provided.
* Move code outside of withXml
Run required scripts
Co-authored-by: Westerlaken, H.L. (Laurens) <laurens.westerlaken@devolksbank.nl>
* remove jdk8 support from spring generators
* update tests, remove commented code in AbstractJavaCodegen
* add back implementation
* add back import
* generate code for non reactive
* fixes#11579: Java RestTemplate Mustache template doesn't use reserved words for local variables
* fixes#11579: Java RestTemplate samples
Co-authored-by: Marek Hudik <marek.hudik@broadcom.com>
* Bugfix: delay clearing *TemplateFiles with apiFirst #2407
* Bugfix: delay clearing *TemplateFiles with apiFirst #2407 (add test case)
* spring api.mustache: fix unhandledException #10860
* Generate samples
* add sample
* Generate samples
* Fixed mustache template for FormParams. Use paramName instead of baseName for variable name.
This will fix an issue when parameter name is one of the reserved keywords (#7506)
# Conflicts:
# modules/openapi-generator/src/main/resources/JavaSpring/formParams.mustache
# modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java
* Move and comment apiFrst
Co-authored-by: Andrii Hrytsiuk <andrii.hrytsiuk@gmail.com>
* 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.