William Cheng
67b659f47e
update php samples
2022-04-20 14:06:34 +08:00
fengelniederhammer
8a83a34bb4
[php] make ObjectSerializer::toString actually return a string ( #12158 )
2022-04-20 14:02:09 +08:00
William Cheng
8330e16d66
Better inline model resolver to handle inline schema in array item ( #12104 )
...
* better support of inline schema in array item
* update tests
* update samples
* regenerate samples
* fix allof naming, remove files
* add files
* update samples
* update readme
* fix tests
* update samples
* update samples
* add new files
* update test spec
* add back tests
* remove unused files
* comment out python test
* update js test using own spec
* remove files
* remove unused files
* remove files
* remove unused files
* better handling of allOf with a single type
* comment out go test
* remove test_all_of_with_single_ref_single_ref_type.py
* fix inline resolver, uncomment go test
2022-04-20 10:28:15 +08:00
Oleh Kurpiak
12454de3ac
[Java][OkHTTP] fix empty request body handling ( #12172 )
2022-04-20 00:17:28 +08:00
leszek-s
5f1f47d156
[swift5] Abstract away URLSession ( #11651 ) ( #12110 )
2022-04-19 10:53:16 +01:00
William Cheng
2abdd3acb7
set follow_location default to true
2022-04-16 17:46:55 +08:00
Connor Moore
7b1795a159
[REQ][Ruby] Ruby Allow Follow Redirect ( #12047 )
...
* Add `follow_location` option
Implementation of https://github.com/OpenAPITools/openapi-generator/issues/10028
* regenerated clients
2022-04-16 16:51:01 +08:00
Yohei Kitamura
e12100b033
[Ruby] Add support for faraday 2.x ( #12112 )
...
* [ruby] Add faraday 2.x support
* Remove redundant params_encoder config
* Memoize Faraday connection and refactor
2022-04-16 16:42:58 +08:00
Hui Yu
16ab5feeb9
do not put the invalid value of the enum to a JSON structure ( #12133 )
2022-04-16 16:28:28 +08:00
William Cheng
c533deb9a9
improve errorObjectType to avoid regression ( #12131 )
2022-04-14 16:31:42 +08:00
Anton Koscejev
7851dfe148
[kotlin][client] fix encoding of individual parts of a multipart request ( #11911 )
...
* [kotlin][client] fix encoding (and Content-Type headers) of individual parts of a multipart request
* [kotlin][client] fix incorrect handling of binary downloads
* [kotlin][client] update samples
2022-04-14 01:52:01 +08:00
mkusaka
498ba58881
[typescript-fetch] Removed functions that are unused when withoutRuntime is true. ( #12101 )
...
* [typescript-fetch] remove unused function when withoutRuntimeCheks option to true
* [typescript-fetch] update samples
2022-04-13 09:06:02 +02:00
William Cheng
4c2a981230
[C++][Qt] update petstore to 3.0 spec ( #12124 )
...
* test update sampels
* update samples
* add file
2022-04-13 10:22:37 +08:00
mkusaka
8c57b66da9
[typescript*] drop support typescript below 4.0 ( #12123 )
...
* [typescript-axios] drop support typescript below 4.0 & update samples
* [typescript-axios] update package.json & package-lock.json
* [typescript-node] drop support typescript below 4.0 & update samples
* [typescript-nestjs] drop support typescript below 4.0 & update samples
* [typescript-redux-query] drop support typescript below 4.0 & update samples
* [typescript-aurelia] drop support typescript below 4.0 & update samples
* [typescript-jquery] drop support typescript below 4.0 & update samples
* [typescript] drop support typescript below 4.0 & update samples
2022-04-12 19:06:54 +02:00
William Cheng
e58646a629
update samples
2022-04-13 00:41:52 +08:00
mkusaka
877a3fc58d
[typescript-fetch] drop support typescript under v4.0 ( #12102 )
...
* [typescript-fetch] drop support typescript under v4.0
* [typescript-fetch] update docs
* [typescript-fetch] update package-lock.json manually & fix test
* [typescript-fetch] fix test
2022-04-12 09:10:37 +02:00
Peter Leibiger
478ed9b8ed
Add a sample of an enum model array in query params ( #12107 )
2022-04-12 13:53:51 +08:00
Peter Leibiger
15e9d4ed8c
Add example allOf with single ref ( #10948 )
...
* Add example allOf with single ref
* fix dart-dio-next handling of that case
* Refactor without vendor extension
* Regenerate newer samples
2022-04-12 13:52:53 +08:00
mkusaka
257141c933
[typescript-fetch] add default config feature ( #12037 )
...
* [typescript-fetch] add global config feature
* [typescript-fetch] update samples
* [typescript-fetch] rename GlobalConfig to DefaultConfig and set defaultConfig to set config
* [typescript-fetch] update samples
2022-04-10 08:33:12 +02:00
William Cheng
a34f992c95
update jackson databind to newer version ( #12097 )
2022-04-10 09:37:44 +08:00
William Cheng
4e82b74cd5
fix warning in cref for list ( #12096 )
2022-04-10 09:37:09 +08:00
Mikko Maunu
4374a63a4c
maven-compiler-plugin only once, because duplicates cause warnings ( #12093 )
2022-04-09 22:41:33 +08:00
mkusaka
befe24dee7
[typescript-fetch] regenerate withoutRuntimeCheks sample ( #12091 )
2022-04-09 14:54:36 +02:00
William Cheng
3e1797fb11
Add operations servers for csharp-netcore ( #12090 )
...
* Add the operation associated with each request path
* Populate the request operation with a combination of classname and operation id
* Initialize operation servers dictionary with default values
* Allow passing in the operation index with requests
* Check that the server contains a variables key before iterating
* Generated samples
* Generated samples with latest changes
* Include operations when at least one server exists
* Generate samples with the latest changes
Co-authored-by: Mike Hamer <mhamer@bandwidth.com>
Co-authored-by: Mike Hamer <hamer.mike@gmail.com>
2022-04-09 16:36:21 +08:00
William Cheng
6bc065ec34
Specify source encoding in java/kotlin sample poms templates ( #12088 )
...
Co-authored-by: cghislai <charlyghislain@gmail.com>
2022-04-09 15:20:58 +08:00
Noah Fontes
f6231d2488
Remove restrictions for additional property types ( #11802 )
...
When a schema specifies additionalProperties: true, we need not restrict
those properties to a particular type. This change sets the schemas for
them to AnyType instead of object.
From a generation perspective, this only changes the output for
generators that differentiate between AnyType and object in their type
mappings; most do not. This fixes at least one bug in the Go and
TypeScript generators.
2022-04-09 10:19:54 +08:00
Dennis Kliban
e783e9b780
Adds 'params_encoder' config option for Ruby clients using Faraday ( #9839 )
...
The partial templates were renamed because they no longer hold tls
settings exclusively.
fixes : #9838
2022-04-09 10:14:38 +08:00
William Cheng
6591d4e6fb
[PowerShell] better enum model support ( #12082 )
...
* better enum model/class support in powershell client generator
* add new files
2022-04-08 13:27:03 +08:00
Bodo Graumann
510f79989a
[typescript] Support esbuild, second attempt ( #11465 )
...
* Install correct typings for url-parse
* Use es modules compat mode when es6 output is selected
* Consolidate typescript sample generation naming scheme
* Regenerate samples
* Create new typescript sample to test esmodules in browser
* Expose RequiredError type
* Make browser integration tests pass locally
* Remove cookie tests, because we don’t allow cross-origin cookies
* Add output type to package definition
* Execute new browser tests in pipeline
* Install headless chromium dependencies in circle ci
2022-04-06 14:53:02 +02:00
William Cheng
66db259678
comment out error message debug ( #12056 )
2022-04-06 11:06:19 +08:00
William Cheng
a7e92786df
[PowerShell] add more tests to powershell client ( #12057 )
...
* add more tests to powershell client
* update spec
* update method name
* add new file
2022-04-06 10:24:32 +08:00
William Cheng
a596d5aec0
update jackson databind to newer version ( #12053 )
2022-04-05 18:09:23 +08:00
Katsuyuki Omuro
efc1a66ebc
[Ruby] Fix incorrectly capitalized identifier in apis template ( #12045 )
2022-04-05 17:50:44 +08:00
William Cheng
5cef7e613a
add response headers to api exception ( #12042 )
2022-04-05 17:24:41 +08:00
William Cheng
4e16146638
more checks in validateJsonObject ( #12041 )
2022-04-05 17:24:22 +08:00
William Cheng
cd41bc824b
[java] Add jersey3 support to the Java client ( #12046 )
...
* add jersey3 client support
* update code to support jersey3
* test jersey3 in ci
* update doc
* update sbt, gradle build files
2022-04-05 17:23:37 +08:00
William Cheng
3d8414fa6c
update ts samples
2022-04-05 11:40:34 +08:00
javier-garcia-meteologica
e8e1f6b500
feat(typescript-fetch): use ReponseError ( #10477 ) ( #10478 )
2022-04-04 20:31:47 +02:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
Martin Delille
8466092087
Fix c++ warning ( #12009 )
2022-04-03 17:57:13 +08:00
devhl-labs
7b6fa755c1
[csharp-netcore] Composed primitives support in generichost ( #11924 )
...
* refactor nrt annotation
* enable nrt by default in .net6.0+
* use shorter nrt annotation
* build samples
* removed debugging lines
* fixed model and operatoin constructors
* reverted a commented line for comparison
* upgraded to System.Text.Json
* build samples
* build samples
* deleted samples to remove old files
* bug fixes
* bug fixes
* added cumpulsory property to codegen
* build samples
* fixed bug
* fixed bug
* fixes
* removed bugged code that wasnt needed
* build samples
* restored sorting and default values for required params
* fixed bugs in comparison
* fixed sort comparators
* recreate tests
* build samples...again...
* removed debugging line breaks
* simplified constructor signature
* inject json options
* build samples...again...
* build samples
* add support for composed primitives
* build samples
* build all samples
2022-04-03 17:29:49 +08:00
William Cheng
b54257d7ab
Support binary return format only in Ruby faraday client ( #11974 )
...
* support binary return format on in ruby faraday client
* add option to return binary data
* update condition
2022-04-03 16:55:15 +08:00
Daniel Qian
41451ff5ee
fix #11958 [BUG] python generates wrong model name and model file name ( #11959 )
...
* fix #11958 [BUG] python generates wrong model name and model file name
Modify AbstractPythonCodegen.toModelName just like AbstractJavaCodegen.toModelName
* add unit test
* update samples and docs
by
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh
* fix AbstractPythonCodegen#toModelName logic, remove underscore
* update samples and docs
by
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh
2022-04-01 19:43:08 -07:00
Bodo Graumann
5d5e753e66
[typescript] Skip missing fields during deserialization ( #12016 )
...
* Skip missing fields during deserialization
* Regenerate samples
* Adjust tests
2022-04-01 09:25:25 +02:00
cachescrubber
7fb0fcb96c
Upgrade to Spring Boot 2.6.6/2.5.12 and Spring Cloud 2021.0.1. ( #12027 )
...
* Upgrade to Spring Boot 2.6.6/2.5.12 and Spring Cloud 2021.0.1.
* Generate Samples
2022-04-01 14:19:09 +08:00
William Cheng
6216046a8b
update samples
2022-04-01 11:04:19 +08:00
Mikko Maunu
8f4106f3e1
[Java][Native] Remove Javadoc warnings. fix #8692 ( #12017 )
2022-04-01 10:16:14 +08:00
Rick Lane
f824b413a6
Update spring dependencies ( #12024 )
2022-04-01 10:07:29 +08:00
Cameron Koegel
0c825ad301
update exceptions output ( #11989 )
2022-03-30 08:54:20 -07:00