Remove CIRCE_VERSION from generator because it is taken in as a transitive dependency of ` "com.softwaremill.sttp.client3" %% "json4s" % "3.3.18"`
Co-authored-by: boris <borissmidt@hotmail.com>
* Add cycle detection (#7532)
* Review feedback
* Including ContextAwareNodes to detect cycles more accurately.
* Add test
* Add forest to test.
* No longer need ContextAwareNode
* Review feedback
* Update samples
* Content mediatype is hardcoded in api.mustache #11511
* Generate Samples
* OAS3 incorrect data type when providing a default value #11367
* Generate Samples
* Fix JsonTypeName annotation handling in Java and JavaSpring
* Generate Samples
* getIsClassnameSanitized: use null safe equals
* Adds bases for int32, int64, float32, and float64
* Samples updated
* Removes print statements
* When creating properties and items do not call _from_openapi_data or model __new__
* Update speed improvement
* cast_to_allowed_types speeed improvements
* _get_new_instance_without_conversion order swap for speed
* Fixes test errors
* Small fixes about path_to_schemas
* Adds component with composition in property example
* Adds endpoint parameter examples
* Adds request body examples
* Adds inpline composition example in response body
* Fixes UNKNOWNBASETYPE import bug
* Updates allof inline schemas to be type object with minProperties
* Removes newline
* Adds test_ObjectWithInlineCompositionProperty
* Updates inline schema to be type string, adds partial test_inline_composition
* Fixes accept_content_types input value
* Adds test_ObjectWithInlineCompositionProperty, adds test_inline_composition and starts deserialization of multipart
* Fixes test_inline_composition, adds simple multipat/form-data deserialization
* feat(typescript-rxjs): add support for rxjs 7.2.0, use type imports
* feat(typescript-rxjs): regenerate samples
* feat(typescript-rxjs): use generic T instead of any in BaseAPI
* feat(typescript-rxjs): regenerate samples
* add stringEnums option
* update templates
* add export
* update samples
* update document
* improve readability
* remove unnecessary code
* add config file for sample
* add sample
* update sample
* remove enum variable form modelObjetEnum template because this variable is not used in modelStringEnum template.
* change the indentation to be the same as modelGeneric template
* Add nillable data types to models
Only REQUIRED and NOT NULLABLE variables can NOT have type Nil
All OPTIONAL and NULLABLE-REQUIRED variables have type Nil
Only NULLABLE-REQUIRED variables should emit keys with null values when they are serialized, json example: property name : String? = nil; the json representation for this property is {"name": null}
For all OPTIONAL variables having Nil values, their variable keys would be skipped during serialization. The json representation for OPTIONAL property name : String? = nil; would be: {}
* Fix failed tests in samples/client/petstore/crystal/spec/api/pet_api_spec.cr
* Remove isNullable from model template
* No need to check nillability of required property
For any required property, assigning nil value to it will result in compilation error
The datatype simply can not hold value nil, so there's no need to check it
* Place required vars first in initializor
* Refresh generated sample code for crystal client
* Required properties are not nillable
* Fix compilation error of undefined method equal?
Crystal lang doesn't have method equal?
We should use method same? instead of ruby's equal? method
Reference: https://crystal-lang.org/api/master/Reference.html#same?(other:Reference):Bool-instance-method
* Add tests for add_pet api endpoint with only required parameters
Setting Pet optional properties to nil values is allowed by add_pet api endpoint
* Add helper method to test compilation errors
* Add tests to Pet model
Test model initializations
Test compilation error when model is initialized without required properties
* Test required properties in json deserialization for Pet model
* Added templates for Kotlin JAX-RS server
* Fixed Kotlin Server JAX-RS template directory
* Added support for Kotlin Server JAX-RS library
* Added support using coroutines with Kotlin server JAX-RS library
* Added sample for Kotlin server JAX-RS library
* Added support for returnResponse option into Kotlin server JAX-RS library
* Fixed issue with optional parameters in Kotlin JAX-RS spec
* Fixed oneOf issue in Kotlin jaxrs-spec generator
* Added better documentation to Kotlin Server JAX-RS options
* Updated kotlin-server.md
* Updated kotlin-server jaxrs-spec samples
* Fixed issue with Kotlin JAX-RS spec and reserved names
* Regenerated samples
* add custom agent support
* samples
* more samples
* merge master files
* only enable custom agent on nodejs not browser
* samples again
* samples
* samples once more
* added generichost library
* added templates
* added an event, improved docs, added logging
* adding event args file
* fixed hard coded package name
* added an AddTokens overload for a single token
* changed api clients to singletons to support the event registration
* build samples
* log exceptions while executing api responded event
* nrt bug fixes, dangling comma fix
* resolving comments
* removed debugging lines
* refactored token provider
* rate limit provider now default
* updated readme, added ConfigureAwait(false)
* DI fixes
* removed a hard coded project name
* fixed nrt bugs
* improved NRT and .net 3.1 support
* renamed projectName to apiName, added cli option
* trying to avoid conflict
* set GenerateAssemlbyInfo to true
* created docs/scripts folder
* moved ApiTestsBase.cs to not get overwritten
* test fixes and improvements
* fixed licenseId bug, updated readme
* build samples
* export docs
* removed new language features
* added support for .net standard 2.0
* added git_push.ps1
* fixed bug in git_push.sh due to the new directory, prompting user for commit message
* moved documentation folders
* fixed bug when apiKey in query
* bug fix
* Add micronaut server implementation
* Add micronaut server tests and imporovements
* Generate samples, docs and verify that tests pass
* Update micronaut docs and samples after merging with master
* Update micronaut dev server samples
* Add micronuat server docs
* Update micronaut version
* Minor changes to micronaut server and client
* Fix documentation generation in samples
Co-authored-by: Andriy Dmytruk <andriy.dmytruk@andriy.dmytruk.ca.oracle.com>
* Installs python3.9 in node3
* Moves python clients into separate node so they can use a docker image
* Installs java and maven into docker
* Switches off some python tests
* add default auth
* private
* default when optional params and fix types
* build samples
* remove extra space
* re-add space before default empty
* switch to default authentication method support in config
* generated samples
* null check chaining
* generate samples
* remove extra spaces
* regen samples
* formatting fixes
* more samples
* remove from abstract methods
* samples
* add default to inversify as well
* samples again
* exclude inversify
* samples once more
* samples
* Implement DocumentationProviderFeatures and integrate it in AbstractJavaCodegen
* Integrate DocumentationProviderFeatures in SpringCodegen
* Run new test config spring-boot-springdoc
* Do not use Locale.ROOT
* Do not use Locale.ROOT, use NONE instead of empty list
* Revert "Do not use Locale.ROOT"
This reverts commit a0d6aac92bea2370b4f164d18ada3fd9097f3a30.
* Do not use forbidden APIs
* Fix spring maven plugin example
* Introduce DocumentationProviderFeaturesTest.java
* replace AUTO with preferredAnnotationLibrary
* remove sout.println from Test
* Apply code style.
* Update spring sample configuration to use the new property
* Update samples after merge
* fix atBean import
* Generate all samples
* Add ParameterObject to test
* Allow Subclasses to opt out
* Use OpenAPI 2 (fka Swagger RESTful API Documentation Specification) instead of just "Swagger"
* export generator docs
* Fix typo
* Fix typo - update docs.