Tino Fuhrmann
a0225deb9c
Updated samples
2023-01-11 14:09:55 +01:00
Tino Fuhrmann
02631143f2
Regenerated samples
2023-01-10 12:58:23 +01:00
Tino Fuhrmann
be67222c69
Added example for calling the API
2023-01-10 11:50:41 +01:00
Tino Fuhrmann
a5774db324
Updated README, refined wording
2023-01-10 11:50:40 +01:00
Tino Fuhrmann
cd5da90f7f
Regenerate samples
2023-01-10 11:50:37 +01:00
William Cheng
d269a2a09d
Add deepObject query string support in Java native client ( #14378 )
...
* add deepObject query string support in java native client
* fix array of query parameters
* minor fix
* update samples
* fix test
2023-01-06 17:10:06 +08:00
William Cheng
b22bf0a071
[js] fix boolean in oneOf, add tests ( #14380 )
2023-01-06 11:26:32 +08:00
William Cheng
c514dc3c1b
add java native jakarta samples for test ( #14381 )
2023-01-05 21:55:53 +08:00
s-jepsen
f848651b84
Fix @Generated annotation import for Java Native client. ( #14376 )
...
* Fix @Generated annotation import.
Apply fix to generatedAnnotation.mustache
Add changes to generated clients.
* Add changed files.
2023-01-05 15:42:20 +08:00
Oleh Kurpiak
ec9c7bdf2c
[Java][Spring] fix EnumConverterConfiguration ( #14356 )
2023-01-05 10:19:17 +08:00
David Gamero
babfdff78a
[typescript] migrate url-parse to URL WHATGW in https.ts ( #14319 )
...
* migrate
* remove extra blank line
2023-01-04 07:35:23 +01:00
Antoine Rey
917892db7d
#14141 Add externalDocs to @Operation to the JavaSpring generator ( #14177 )
...
* #14141 Add externalDocs to @Operation to the JavaSpring generator
* #14141 Add externalDocs to @Operation to the JavaSpring generator : fix mustache template with #hasExternalDocs
* #14141 Add externalDocs to @Operation to the JavaSpring generator: fix indentation
* #14141 Add externalDocs to @Operation to the JavaSpring generator: fix carriage return
* #14141 Add externalDocs to @Operation to the JavaSpring generator: regenerate the spring-boot-oas3.yaml sample
* #14141 Add externalDocs to @Operation to the JavaSpring generator: generate-samples.sh
* #14141 Add externalDocs to @Operation to the JavaSpring generator: remove hasExternalDocs
* Fix ExternalDocumentation import generation and order
* #14141 Add externalDocs to @Operation to the JavaSpring generator: generate-samples.sh
2023-01-04 10:15:23 +08:00
stropho
a6eb96ea34
typescript-axios single request param in factory ( #14358 )
2023-01-03 08:22:38 +01:00
Beppe Catanese
d0800c46e1
12551 [Go] Skipping marshalling of readonly fields ( #14335 )
...
* Skip toSerialize for readOnly fields
* Commit regenerated files
2023-01-02 23:35:54 +08:00
Julien Herr
921199bba7
[kotlin-spring] Move Jackson annotation from field to getter ( #10825 )
...
* Move Jackson annotation from field to getter
In some case, Jackson will duplicate entries when the annotation is on field
See https://github.com/FasterXML/jackson-databind/issues/1609
* Update samples
2023-01-02 15:32:57 +00:00
devhl-labs
b8b8c5c208
[csharp-netcore] Added samples for composed schemas ( #14348 )
...
* added samples for composed schemas
* continue ignoring standard for now
2023-01-02 23:27:01 +08:00
William Cheng
421e7c9d3e
[Java] Better tests for jakarta option (webclient, resttemplate) ( #14363 )
...
* test java jakarta in new workflow jdk 17
* update workflow
* skip jakarta test in jdk11
2023-01-02 20:55:39 +08:00
Paul Parenko
fd2b141c53
when using useJakartaEe=true
also set java 17 ( #14360 )
...
webclient now uses Sring Boot 3.0.1 with `useJakartaEe`
2023-01-02 20:29:32 +08:00
Ahmed Fwela
da8d984ea4
[dart-dio] Fix non legacy discriminator behavior ( #14291 )
...
* override createDiscriminator
* assign discriminator = null to remove duplicates
* added discriminatorValue extension
* added _defaults
* formatting
* samples
* use gitter instead
* remove comment
* updated samples
* revert formatting changes
* update samples
* change file permissions
* remove discriminator check for anyOf
* add comment to createDiscriminator
2023-01-02 18:59:33 +08:00
Nick Ufer
16a7fb8acd
[KOTLIN] feat: adds maven-publish to 'kotlin' client generator ( #14344 )
...
* [KOTLIN] feat: adds maven-publish to 'kotlin' client generator
* [KOTLIN] chore: regenerate samples
2023-01-02 09:20:41 +00:00
Oleh Kurpiak
dc99a450dd
[Java][Spring] fix @Operation content for array response ( #14201 )
2023-01-02 17:10:48 +08:00
Paul Parenko
456cca1a28
[Java] Fix #14276 Java Templates uses jakarta or javax package if useJakartaEe is enabled ( #14343 )
...
* Fix #14276 Java Templates uses jakarta or javax package if useJakartaEe
is true
* generated samples after useJakartaEe changes
* generated docs after useJakartaEe changes
2023-01-02 16:28:44 +08:00
William Cheng
dee0703269
remove empty spaces in blank lines in python nextgen client ( #14347 )
2023-01-02 00:59:24 +08:00
tom300z
2236cebe02
Bugfixes for python-nextgen ( #14334 )
...
* Fix swapped operators
Signed-off-by: Tom Hörberg <tom@hoerberg.de>
* add conversion to support non-string params
Signed-off-by: Tom Hörberg <tom@hoerberg.de>
* Provide better fix for nonstring url param values
Signed-off-by: Tom Hörberg <tom@hoerberg.de>
* Updated python-nextgen sample files
Signed-off-by: Tom Hörberg <tom@hoerberg.de>
Signed-off-by: Tom Hörberg <tom@hoerberg.de>
2023-01-02 00:06:25 +08:00
Oleh Kurpiak
7c587ce061
[Java] configurable Javax/Jakarta package ( #14310 )
2022-12-30 22:33:55 +08:00
Hui Yu
04ebe9e1a0
[C][Client] Check cJSON_IsNull when the data type is string ( #14332 )
2022-12-28 16:32:13 +08:00
Thomas von Rosenberg
88fa9ef3c2
[rust] Fix declaration for arrays with object and array references ( #14198 )
...
* [rust] Fix declaration for arrays with object and array references
For arrays with an item defined by reference to an array or an object,
the generated type declaration was `Vec<core::models::Array>` or
`Vec<core::models::Map>` without defining a `Array` or `Map` so that the
code didn't compile.
* [rust] Fix trailing whitespace in petstore definition
2022-12-28 15:08:21 +08:00
0xNF
341a8535c7
[Dart] Fix array of array nullable and non-nullable value generation ( #13461 )
...
* [Dart] Added non-invalid defaults for non nullable array of arrays (#13460 )
* [Dart] Update samples
2022-12-28 00:01:08 +08:00
renaud-twd
efdc94b113
Fix enum generation for php-symfony generator ( #14105 )
...
* fix(symfony): enum generation
* docs(php symfony): update samples and docs
2022-12-27 23:42:41 +08:00
Thomas von Rosenberg
63f6569e6f
[rust] Fix model constructor for required enum array ( #14196 )
...
For a required enum array property the generated model constructor used
the type `RequiredEnums` instead of `Vec<RequiredEnums>`.
2022-12-27 23:25:01 +08:00
Dee Luo
444d411b5e
perf: \GuzzleHttp\json_encode is deprecated, use \GuzzleHttp\Utils::jsonEncode instead ( #14323 )
2022-12-27 16:58:44 +08:00
John Mitchell
fd0bfae65a
Java Feign - DefaultApi20Impl is only needed if OAuth is enabled ( #14289 )
...
* DefaultApi20Impl is only needed if OAuth is enabled
* Checking updated generate files
2022-12-27 16:50:08 +08:00
William Cheng
68beec623f
update swift samples
2022-12-27 16:00:36 +08:00
jase
cfef750e18
[BUG][Swift] fix decimal encoding referencing not existing extension method "encodeToJSON" ( #14307 )
...
* feat: add decimal extension "encodeToJSON"
* feat: add decimal extension "encodeToJSON"
2022-12-25 11:02:07 +00:00
Makoto Aoyama
031f0dcee6
[swift5]Add validation rule and validator ( #14218 )
...
* Add validation sample
* Add validation template
* Add access control
* Add rule property for string for numeric
* Add access control
* Remove useless file
* Fix condition
* Add properies for test
* Rename
* Add additional property
* Run ./bin/utils/export_docs_generators.sh
* Add comments for validator
* Rename
* Run ./bin/generate-samples.sh bin/configs/swift*
2022-12-23 13:25:54 +00:00
William Cheng
625a7233e2
update ts samples
2022-12-23 01:17:31 +08:00
Bill Collins
71a7a822f4
Nullable subschemas ( #13850 )
...
* Add failing example of nullable subschema
* Do not generate new subschemas when nullable
* Generate client
* Update go example schema/test
2022-12-22 20:44:05 +08:00
Lukas Peleska
028b38d43b
typescript-nestjs / Ensure default headers remain unmodified ( #14312 )
...
When sending a request with a client generated by typescript-nestjs, the
default headers are modified. This occurs when headers such as "Accept"
are appended by the client.
The root of the issue is that a reference to the default headers is
stored instead of a clone.
2022-12-22 10:02:00 +01:00
William Cheng
7b64fbb800
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator
2022-12-21 15:26:34 +08:00
William Cheng
e6702c5edc
update samples and docs
2022-12-21 15:25:09 +08:00
Lisa Burns
02d4852f26
Enable access token refresh ( #14251 )
...
* Enable the ruby client to support refreshing access tokens
- The client can now be configured with an access token getter proc
- The proc overrides the the static access token if it is set
* Run generators
2022-12-21 15:19:51 +08:00
hahny93
851ddecda3
Update Java/Feign api.mustache to accept its own convinience Map Class ( #14008 )
...
* Update Java/Feign api.mustache to accept convinience Map
Hi, I just saw, that the generated Map Class is never used outside of tests, but it would be the perfect fit for the changed mehods, as its use-case is exactly the same.
Also a useful change to prevent problems with Collection types and their generics parameters (f.e. Map<x, y>). See: https://stackoverflow.com/questions/62823341/openapi-generator-maven-plugin-breaks-old-feign-with-querymap
* PR checklist
Steps as requested per checklist: done.
2022-12-21 14:44:03 +08:00
Justin Black
45b1f91807
[python] Fixes Response TypeError ( #14299 )
...
* Fix and sample regen
* Response with only header added, sample regnerated
2022-12-20 12:42:10 -08:00
cachescrubber
5300bff6d9
[Java][Spring] Upgrade Spring Cloud dependencies ( #14285 )
...
* Upgrade to Spring Boot 2.7.6/3.0.0
* generate samples
2022-12-20 22:02:03 +08:00
Kuzma
82971ccd48
[Typescript] Change btoa to native code ( #14258 )
...
* Change btoa to native code
* update samples
2022-12-19 22:49:56 +01:00
cachescrubber
c45814a7ea
[Java][Spring] Upgrade Dependencies (2022-12) ( #14283 )
...
* Upgrade to the latest Spring Boot / Springdoc and Swagger Ui dependencies
* Generate samples
2022-12-19 17:41:38 +08:00
Maxime Dufour
9450984af8
[Java][Client] Generate servers for okhttp-gson ( #14179 )
...
* [Java][Client] Generate servers for okhttp-gson
* Update sample tests
2022-12-17 21:58:47 +08:00
William Cheng
344c49dd51
update Newtonsoft.Json to 13.0.2 ( #14277 )
2022-12-17 21:24:17 +08:00
devhl-labs
ab59e68f1e
fixed ( #14274 )
2022-12-17 16:16:13 +08:00
William Cheng
0cf5ed619d
Add a new Python client generator - python-nextgen ( #14157 )
...
* add python-nextgen generator
* remove client_side_validation from model
* remove configuraiton import from models
* add inheritance support
* update test requirements, tox
* add typings, pydanic to models
* add test model
* minor improvements
* add enum support
* add typing for parameters, remove validations
* add oneof, anyof support
* fix default value
* fix deserialization, api tests passed
* private variable naming, update tests, all tests passed
* remove six
* remove nose
* update doc
* remove sortParamsByRequiredFlag option
* add parameter validation
* add validation tests
* simplify Field()
* remove previous required parameter validation
* improve parameter handling
* support discriminator mapping
* better typing discriminator mapping
* format test code
* fix tests
* fix oneOf from_dict, add test
* add set validation test
* fix nested oneof serialization, add tests
* add model import
* remove models. prefix
* remove import models
* remove model import from api
* simplify from_dict
* add typing for return
* skip pydantic import in return type
* fix tests, fix enum
* restore more enum schema tests
* uncomment enum integer test
* clean up getfullargspec import in model
* clean up getfullargspec import
* fix deserilizatoin for nested oneof
* minor fixes, add tests
* fix regular expression
* add aiohttp samples, add tests
* remove default content type to json
* update template
* fix select accept, content-type
* move tests
* move tests
* fix url query parameters
* fix list
* fix samples
* fix param pydantic, add list as reserved word
* fix auto-generated doc
* fix readme
* fix list, fix special variable name with var_
* fix Literal in python 3.7
* fix default configuration
* fix aiohttp tests
* set default api client instance
* deprecate get_default_copy method
* fix enum model
* fix enum serializatio/deserialization
* add github workflow support
* add regular expression validator
* add enum validator
* better model import
* fix file, remove x-py-import-models
* rename local var
* better model example
* fix regular expression warning, add special_name test, whitelist schema
* skip self import
* update samples
* various fixes
* add base64, json as reserved word
* add http signature support
* add http signature test
* add additioanl properties support in python client
* add decimal support
* use strictstr instead of constr
* fix test with virtualenv
* add nullable support
* add readonly support
* add model name caching
* fix circular reference import
* add onelook discriminator lookup
* add tests
* update samples
* fix locale
* Fix client legacy generator asyncio README code example
* test python-nextgen in circleci
* fix pom.xml
* update python to 3.7.15
* test with python 3.7.12
* various updates
* fix python legacy
2022-12-17 16:05:47 +08:00