* [Java][Native] Fix the Content-Type and Accept headers that were forced to application/json
* Update the generated samples after fixing issue no. 6779
* [Python] Allow the user to pass in any headers per request
* Update docs
* Update docs
Update Docs _headers
* Add test
Co-authored-by: Rizwan Saeed <rizwan.saeed@finbourne.com>
* Created Apache Camel language
* Added unit test
* Fix template dir
* Fix description api
* Camel Dataformat Properties
* Apache Camel Doc
* Apache Camel Doc
* Apache Camel Doc
* Apache Camel maven plugin example
* Fix LOGGER
* Samples
* Camel 3.14
* Samples
* samples
* up to date
* Rename camel to java-camel
* up to date
* Fix SerializedName in modules/openapi-generator/src/main/resources/JavaSpring/pojo.mustache
* [BUG][csharp-netcore] Fix Multi Files for the some FormField (#11132)
Make FileParamerts a Multimap to enable sending more than one file with the same key.
* update documentation for csharp-netcore
* Adds generatorLanguageVersion and uses it in python generators
* Regenerates docs
* Adds stability to generator docs
* Triple braces generatorLanguageVersion
* Regenerates samples
* Fixes the python-experimental setup.py file so it works with generatorLanguageVersion
* Updates generators readme
* Refactors generator md creation, adds generateMdMetadata
* Removes extra space
* Adds docs updates
* Fixes table definition for metadata
* Docs update
* Docs update
* Updates title, removes sidebar_label because it was not doing anything on pages like https://openapi-generator.tech/docs/generators/android
* Docs updated
* Fix extra m that prevents qt cpp server to build (#11176)
* Fix regular expression to capture IDs on path (#11176)
* Fix build issue missing QHttpEngine namespace (#10706)
* fixing precision for php
* remove a bracket
* handling whitespace
* format comment
* Use regexp to trim needless microseconds
That way we can save timezone suffix.
Co-authored-by: Carmen Quan <cquan@launchdarkly.com>
* Add support for asynchronous API for JavaJaxRsSpec
https://github.com/OpenAPITools/openapi-generator/issues/4832
* Ran the requested command for a PR
Run the following to build the project and update samples:
./mvnw clean package
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh
* Set java 8 mode when using supportAsync=true
`CompletionStage` are only introduced since 1.8, enabling async should for use java8
Co-authored-by: Thomas Bredzinski <thomas.bredzinski@gemalto.com>
* fix: Make dart2 generated code compilable
* Update dart2 client samples
* Re-add deleted test files
* Lower dart version to 2.12
* Make username and pass not null in http basic auth
* Delete json_serializable
* Make growable false by default
* Make value not nullable
* Remove redundant null check
* Revert linter fix
* Provide required username and pass
* Revert initial abstractDartCodeGen changes
* Revert removing dart pom module
* Revert removing dart pom module
* Lower minimum dart version to 2.12
* Disable dart2 tests generation
* Disable petstore_client_lib
* Disable samples/openapi3/client/petstore/dart2/petstore
* Re-add dart2 tests
* Add new tests
* Delete empty directory
* api_client.mustacheUpdate
added optional HttpBearerAuth so you can add the token directly on the ApiClient
* Update api_client.dart
auto generated files for build
* Update api_client.dart
Autogenerated files for buiild
* Make mapDateTime nullable and add ! after json mapping
* Fix warning on Future<?>
* Fix warning on Future<?>
* Dont insert unused param to constructor
* Modified Dart2 Mustache template.
* Regenerated Petstore source code.
* Remove extra code to sync with agilob's pr.
* Regenerated Petstore source code.
* Fix a couple of reported bugs.
* Regenerated Petstore source code.
* Make properties non-nullable.
* Regenerated Petstore source code.
* Do not trim user input before submitting.
* Regenerate Petstore source code.
* Regenerate Petstore source code.
Co-authored-by: Kate Döen <kate@stack11.io>
Co-authored-by: Artur Powroznik <arturp@backbase.com>
Co-authored-by: devjakobsen <94956607+devjakobsen@users.noreply.github.com>
Co-authored-by: Noor Dawod <noor@fine47.com>
* Oas3: Remove swagger2 ApiModel and ApiModelProperty from imports when oas3 is true.
* Oas3: Use either swagger v2 or v3; add test config
* Oas3: allowableValues and defaultValues belong to the Schema annotation
* Oas3: use swagger-core.version property in all pom.xml
* gh-11165 remove io.swagger.v3.oas.annotations.parameters.RequestBody
* gh-11168 add import for io.swagger.v3.oas.annotations.Hidden
* Fix formParams.mustache, add dedicated test scripts for the spring generator using oas3.
* Run ./bin/generate-samples.sh
* Run ./bin/generate-samples.sh - new samples
* fix indentation
* Revert to threetenbp 2.9.10 because customInstantDeserializer.mustache is not compatible with threetenbp > 2.9.10.
* apiController.mustache: pull in osa3 imports.
* apiDelegate.mustache: remove io.swagger.annotations.* import
* Remove Hidden (import and usage). Wrap atApiIgnore with useSpringfox.
* fully qualify org.springframework.data.domain.Pageable because endorExtensions.x-spring-paginated is not set during import processing.
* align spring-cloud and spring-boot pom.mustache regarding springfox and oas versions.
* introduce dateTimeParam.mustache
* Apply DateTimeFormat consistently across different parameter types
* revert to springfox 2.9.2
* add newline after parameter
* fix atSchema annotation (use empty description)
* add more spring-*-oas3 test configs
* Update bin/config/spring* test samples
* Fix implicitHeader.mustache - add import, generate use paramDoc.
* rename spring-boot-implicitHeaders-oal3.yaml to spring-boot-implicitHeaders-oas3.yaml
* Add spring oas3 configs to samples.circleci profiles module list
* Use groupId 'org.openapitools.openapi3' for oas3 configs
* Run all spring test configs.
* In OAS3, allowableValues is a String[] array.
* formParams.mustache: Align spacing and newlines with other param templates
* Support @Parameter(hidden = true) instead of ApiIgnore, Formatting: One parameter per line.
* Format method level annotations in api.mustache
* Introduce samples.circleci.spring profile
* Generate all spring samples
* first commit: add cli option for saga and records. Added dummy sagas.mustache test file.
* More progress with default values. First prototype for isEntity and isUniqueId.
* record generation complete
* record generation complete
* progress with saga generation
* progress with saga generation
* first fully working saga generation
* merge with latest master
* removed unneeded "items" properties.
* moved global CodegenModel modifications into subclass ExtendedCodegenModel used exclusively by TypescriptFetchClient. Adding missing samples files.
* moved global CodegenOperation modifications into subclass ExtendedCodegenOperation used exclusively by TypescriptFetchClient.
* moved global CodegenProperty modifications into subclass ExtendedCodegenProperty used exclusively by TypescriptFetchClient.
* moved global CodegenParameter modifications into subclass ExtendedCodegenParameter used exclusively by TypescriptFetchClient.
* added the missing "allSagas" export.
* renamed & reworked "meta data response" flags to a more useful general concept of "operation return passthrough"
* added vendor flag keepAsJSObject as escape hatch to support circular dependencies in models and other special cases. Also fixed issues with default values for some records properties.
* added autodetection for passthrough to simplify standardised specs.
* fix small issue with passthrough void
* fix small issues with passthrough void and missing passthrough imports in some cases. Fix issues with enum default values.
* fix small issues with passthrough void and missing passthrough imports in some cases. Fix issues with enum default values.
* Added "reservedRecordField" feature to support remapping fields names that cannot be used in Records. Added missing export to record: toApi().
* added uniqueId inference. Fix small generation when uniqueId property is an array.
* removed feature "reservedRecordField" and replaced it with existing built-in "reserved words" feature. Fix minor issues with typings in generated files.
* Changed api recType names to make them less likely to cause name conflicts. Added generated ApiEntities (record, reducer & selector) files.
* Moved location of ApiEntities related files and fix issues with exports.
* - merge latest master
- renamed fake test apis to better fit the "pet theme"
- added mode for "SourceOnlyLibrary" (same as used in codegen typescript jquery)
* - missing ganarate sampless
* - Modified way to export apiEntitiesSelectpr to reduce typescript analysis time for consuming project. Removed tab characters in mustache files. Reformat code for TypeScriptFetchClientCodegen to try to remove false positive for tabs vs spaces.
* - added markErrorsAsHandled property to api sagas. Increased typescript version to address some typing errors on library build.
* - fix bug in saga interfaces. Upgraded to typescript "strict" mode to ensure proper typechecking info is generated.
* - added optional id for apiEntity selectors. Added toInlined() support to convert an entity to an inlined model recursively.
* - minor tweak for apiEntitySelector to accept null id
* - minor tweak for apiEntitySelector
* - runned ensure up to date.
* Revert "- runned ensure up to date."
This reverts commit ea9b4aed
* - runned ensure up to date.
* - runned ensure up to date.
* - added more enhancements: New "toInlined" functionality. Support for more complex double array types. apiBaseConfiguration is not sent completely for Api.init().
* - merge master
* - fix generated api bug in some cases for typescript fetch when no request params are present.
* - commented broken tests
* - fix generate samples analysis.
* - work in progress for playframework swagger upgrade
* - first working output for playframework with oauth support for access code flow.
* update surefire to newer version
* added new sample project "...playframework-with-security.yaml" and improved tab in generated output for controllerImp files.
* split SecurityAPIUtil into more granular and useful functions.
* minor fix to have tab instead of spaces in securityapiutils mustache file
* added missing generated samples.
* added missing securityAPIUtils injection in generated "Controller" classes when "useInterfaces = false"
* added missing securityAPIUtils import
* added missing securityAPIUtils import for no-interface samples files.
* minor tweak: changed order of import for securityApiUtils
* minor tweak: changed order of import for securityApiUtils
* fix: securityApiUtils was incorrectly declared with "throws Exception"
* minor code tweak.
* fix potential runtime throw in SecurityApiUtils if playframework configuration variables are not found. fix minor issue with space vs tab in mustache files. Fix compilation issues in some cases when using async mode.
* run ensure-up-to-date and generate-samples
* Revert "run ensure-up-to-date and generate-samples"
This reverts commit da4d3ac7552376268fdb800fc7d42722367e9e47.
Co-authored-by: Bruno Flamand <bflamand@stingray.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>