This fixes an issue that makes the swift 4 api client fail to compile when using enums with a default value.
The fix changes the toDefaultValue method to check if the property is of enum type, and then returns a properly formatted value.
Looking into the code, I wonder why toEnumDefaultValue is not being used here, which seems to be the case for the java implementation.
* fix circular import issue in python flask
This is very similar change to 3678eaff87dd95348470c
All it intends to do is fix the problem of cirular imports (which was
already fixed for python) in the python flask server.
* removal of type hints in quotes
* Open Virtualan API Implementation
* Menu change
* Delete .swagger-codegen-ignore
* Delete jsonbeautifier.html
* Supporting files for Virtual service setup
* CRLF removed
* Unwanted new lines are removed
* Build issues resolved
* Build issue resolved
* Removed Logger statement
* Logger removed
* Updated
* Codegen virtual services samples for petstore.yaml
* - Code Revamp and Clean up
- Maven plugin related changes
- Samples added
* Tab space removed..
* Annotation based Service virtualization
* Open API code generator changes
* Virtualan samples added with Sprint boot app.
* Build issue resolved
* Removed unwanted files
* Updated with version 3.0.3 SNAPSHOT
* Reverted the options for virtual service in global and not needed now.
* virtualan-plugin integration with open api tool.
* Updated the all review comments and removed all tab spaces.
* Updated the ReadMe generator section.
* New line removed to fix the build issue.
* Spring boot virtualan included in the spring build script
* Included in the spring-all-petstore script
* add elm-format support
* update elm petstore samples
* add trenneman to elm tech comm
* replace dart class with elm class
* revise elm format arguments
* update petstore samples
* Restore support for nullable in rust-server
Accounts for changes in https://github.com/OpenAPITools/openapi-generator/pull/930. Adds a nullable field to the sample to reduce the risk of this regressing again in future.
* Add test for required nullable field
* [PHP] Enhance interfaces, abstracts and traits
It would be helpful to set prefix/suffix for all interfaces, abstracts
and traits in one place. Defaults are set to follow "PSR Naming Conventions".
If user will ask we can add prefix/suffix generator options in future.
I don't see modelPrefix generator option, so I assume it's not important now.
Ref: https://www.php-fig.org/bylaws/psr-naming-conventions/
* [Slim] Refactor to use new helpers
* [Slim] Refresh samples
* Add an option for Dart2
* add dart2 samples, update travis
* fix dart installation
* Upper constraints on the SDK version
* Update dependencies
* supportDart2 option can now be passed through --additional-properties
* Update petstore tests
* Update dart2-petstore.sh
* Running tests on Dart VM
* Fixed JSON deserialization bugs
* Fixed missing initialization of postBody
* Run bin/dart2-petstore.sh to regenerate libraries
* Update pom.xml
* Added SDK version constraints in pubspec.mustache
* Run bin/dart2-petstore.sh to regenerate libraries
* move dart2 test to the end
* update release version, disabled ensure up to date script
* update release table
* update stable version to 3.2.3
* update samples/meta-codegen/lib/pom.xml and release_version_update.sh