Julian Taylor
3dc8403e10
[Python] pass api_client configuration to model deserialize ( #13922 )
...
The if not passed the models create a new configuration object which
configures logging and determines cpu count every time.
This causes extreme performance issues when deserializing larger sets of
items.
See also
https://github.com/kubernetes-client/python/issues/1921
2022-11-07 09:05:14 +01:00
Justin Black
b35ea31e82
[python] fixes multipart/form-data bug ( #13926 )
...
* api_client template updated
* Samples regenerated
* Fixes tests
* Adds missing test file
* Adds test fix
2022-11-05 09:10:24 -07:00
Gustavo Bazan
d5f896fe20
[GO] fix identation for model_simple.mustache ( #13919 )
...
* [GO] fix identation for model_simple.mustache
This corrects the identation for recnet changes in #13843
* running the scripts
2022-11-05 22:47:09 +08:00
William Cheng
a020170ff3
[java][client] Fix config, add more samples for testing ( #13912 )
...
* fix config, add more samples for testing
* update samples
2022-11-04 18:17:34 +08:00
cachescrubber
5221682086
[Java][Client] Support annotationLibrary=none to remove swagger annotations ( #13869 )
...
* Support annotationLibrary=none in JavaClientCodegen
* Add example using annotationLibrary=swagger1
* Support annotationLibrary=none in libraries
* Fix missing curly brace.
* fix if statement condition
* Support {{#swagger1AnnotationLibrary}} in java/rest-assured
* Adopt JavaModelTest
* Generate docs
* Generate samples
* clean up java feign files
* clean up feign samples
* fix resttemplate, native
* fix resttemplate withXml
* fix webclient
* fix java-jersey2, vertix
* fix googleapi client
* fix rest assured
* fix rest assured
* update apache-httpclient
* fix jersey2 special character
* fix resteasy
* fix jersey2
* update samples
* fix jersey2, okhttp streaming
* update okhttp-gson
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-11-04 17:07:46 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
cachescrubber
b54299fffa
Spring request mapping mode ( #13838 )
...
* Introduce RequestMappingMode option
* generate docs
* Add test case using interfaceOnly
* Generate Samples
* Add requestMappingMode: iface to bin/configs/spring-boot-oas3.yaml
* Restore #12250 : Move Feign Client url parameter under condition.
* Rename iface to api_interface.
2022-11-01 09:44:01 +08:00
sbilz
fe5601ab9b
Java jersey OAuth2 add support for public client #13827 ( #13828 )
2022-10-31 22:52:42 +08:00
Nick Ufer
a04b2623b0
[GO] fix: stops checking for nil for structs ( #13843 )
...
* [GO] fix: stops checking for nil for structs
* [GO] chore: regenerates samples
2022-10-31 22:50:02 +08:00
Beppe Catanese
1de28c8a72
Improve error message (rfc7807) ( #13680 )
...
* Add func formatErrorMessage
* Add unit test
* Commit generated code
* Fix indentation
* Using tabs
* Set error before model
* Commit generated code
* Fix tabs
* Commit generated code
* Fix tabs
* Fix tabs
* Commit generated code
2022-10-31 22:35:16 +08:00
Thibault Duperron
1b65ef38f5
Update dependecies for CVE ( #13834 )
...
* Update dependecies for CVE
fix #13772
* Fix schemas
2022-10-31 10:55:11 +08:00
William Cheng
4c19c725a7
minor improvements on java client based on intellji ide ( #13864 )
2022-10-30 23:31:04 +08:00
Tom Bärwinkel
009bf4c0a3
Add sendWithCustomExpect function to Api.mustache ( #13773 )
...
to allow more fine grained error handling.
2022-10-29 15:06:31 +02:00
Thibault Duperron
458ea56896
[SPRING] Add converters for enums ( #13349 )
...
* [SPRING] Add converters for enums
* Review
* review
* fix merge
* review
2022-10-28 23:55:40 +08:00
신진호
8eb3064b2e
[Java][Spring] Change methodBody.mustache for webflux bean validation ( #13795 )
2022-10-28 20:49:28 +08:00
William Cheng
227f583a81
[java] Update jackson-databind-nullable version to 0.2.4 ( #13804 )
...
* update jackson databind version to 0.2.4
* update samples
2022-10-24 13:56:46 +08:00
Justin Black
ac3bb6830a
[python] Fixes endpoint overload type hint + required property not in properties ( #13790 )
...
* Adds endpoint overload type hint fix to template
* Samples regenerated
* Adds fix for required property not in properties
* Regenerates samples
2022-10-21 18:50:30 -07:00
William Cheng
a68c36e932
Update jackson core and databind to newer versions ( #13755 )
...
* update databind to newer version
* update jackson version
* update dep
* revert jersey1
2022-10-21 10:14:37 +08:00
William Cheng
58f817276a
Revert to c73704ce0832fc41210652399bfbb5f1668ec98a
2022-10-19 14:55:11 +08:00
William Cheng
de8d7e98c4
update databind to newer version
2022-10-19 14:52:18 +08:00
David Chaiken
c22715ad1f
fix for issue #13722 : send body for application/x-www-form-urlencoded data ( #13723 )
...
* fix for issue #13722 : send body for application/x-www-form-urlencoded data
* fix python test_application_x_www_form_urlencoded_serialization
* x-www-form-urlencoded data needs to be percent encoded
* add verification endpoint test for x-www-form-urlencoded data
Co-authored-by: David Chaiken <dchaiken@pinterest.com>
2022-10-18 18:51:35 -07:00
William Cheng
803e2cdb60
update go samples
2022-10-18 23:47:01 +08:00
Maëlick
41255c1f18
Fix staticcheck ST1005 errors in generated Go client ( #13633 )
...
* Fix staticcheck ST1005 errors in go client
* Samples updated
* sample test fix for openapiv3 petstore go client
2022-10-18 22:46:49 +08:00
William Cheng
02d99eaf12
add tests for go oenof datetime ( #13713 )
2022-10-17 17:37:02 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
Justin Black
ef8e55ca21
[python] client bug fixes + type hint improvements ( #13665 )
...
* Adds python client, template, and spec updates for query param content type json
* Samples regenerated
* Finishes adding test cases for query param json content type
* Uses newest templates
* Templates replaced, spec replaces, sample replaced
* Samples updated
2022-10-10 20:13:31 -07:00
Beppe Catanese
48928d8efe
[Go] Generate test files ( #13560 )
...
* Process api_test.mustache
* Create api_test.mustache
* Add test and helper method
* Commit all (re)generated files
* Commit all (re)generated files
* Fix indentation
2022-10-07 23:15:09 +08:00
William Cheng
4ee0cfa1ad
Update jackson dependencies to newer version ( #13634 )
...
* update jackson databind dep
* update java native dep to newer version
* fix build issue due to cached config. add dummy pom
2022-10-07 23:04:27 +08:00
William Cheng
038fe790dc
fix spring3 client ( #13625 )
2022-10-07 20:54:55 +08:00
William Cheng
94bc2ed19c
add tests for #13606 ( #13618 )
2022-10-07 09:53:55 +08:00
Dennis Melzer
0a69f11526
Remove wrong request mapping for feign clients ( #13546 )
...
* Remove request mapping
* Fix bug for feign clients
* Fix test
* Fix test files
* Rebuild
* Revert change
2022-10-07 01:36:43 +08:00
Justin Black
57f5cc4000
[python] fixes bugs ( #13581 )
...
* Adds bug fixes
* Samples and docs regenerated
* Samples regenerated
2022-10-03 11:15:16 -07:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Justin Black
7e73645303
Switches python-experimental in as the primary python client ( #13501 )
...
* Changes python to python-prior
* python -> python-prior, python-experimental->python
* Renames sample spec directories
* Samples regnerated
* Regenerates docs
* Fixes test
* Samples regenerated
* Updates renerators list
* Fixes made to python paths in pom.xml
* Fixes node4 sh file paths
2022-09-24 16:19:38 +08:00
Justin Black
d25cdbb2ce
[python-experimental] removes enum cls factory ( #13491 )
...
* Movs enum info, changes cls factory to base class + updates samples
* Fixed docs for enums, they show the allowed bool and None values now
2022-09-22 11:08:09 -07:00
Justin Black
5f9910dcab
[python-experimental] reduces python version ( #13481 )
...
* Removes classmethod property combinations
* Changes python version to 3.8
* Changes python version to 3.7
* Tests fixed
* Samples updated
* Adds getAddSuffixToDuplicateOperationNickname and uses it in python-exp, samples regenerated
* test_paths regenerated
* Fixes bug
* Adds typing_extensions requirement
2022-09-21 18:41:11 -07:00
Justin Black
903f2e2e2e
[python-experimental] improves documentation ( #13477 )
...
* Improves docs generation
* Adds inline composed schemas
* Adds missing from property
* Adds notes info
* Fixes spacing
* Updates notes, generates container properties
* Adds anchors to property schema docs
* Adds format info to docs
* Adds items schema documentation
* Adds doc for additionalProperties
* Adds anchors for response types
* Fixes anchors in endpoint
* Fixes api doc link to model doc
* Removes returnType from api docs because it is unused
* Fixes float and double tests
2022-09-20 14:53:58 -07:00
0xNF
d75b7b6194
[Dart] Remove toString() call in enum TypeTransformers ( #13452 )
...
* Updated samples
* [Dart] Removed 'toString' check on enum TypeTransformers (#12167 )
2022-09-20 13:22:31 +08:00
Elton H.Y. Chou
4a2845152d
[python-experimental] Fix error message ( #13471 )
...
* fix error message formatting
* add more infos in error message
2022-09-19 15:40:53 -07:00
Justin Black
43375b9392
Upgrades swagger parser to 2.1.1, allows ingestion of 3.1.0 specs ( #13133 )
...
* Upgrades swagger-parser
* Removes additional property and halting of spec processing
* Updates tests
* Docs updated
2022-09-17 08:33:47 -07:00
Justin Black
048af8eeae
[python-experimental] simplifies type checking ( #13437 )
...
* Better control of when to write MetaOapg
* Makes MetaOapg in Schema a type hint rather than assignmnet
* Samples regenerated
* Adds tuple types
* Removes types info
* Adds _types
* Samples regenerated
* Adds missing mixins, samples regenerated
* SchemaTypeChecker removed
* Samples regnerated
2022-09-15 17:17:39 -07:00
Justin Black
3177277b52
[python-experimental] adds more base class mixins, preparation for v3.1.0 type arrays ( #13436 )
...
* Removes unnecesary typing.Unions
* Adds qty 3 mixin
* Adds qty4 mixin
* Adds mixins for 3-5 type combinations
* Regenerates samples
2022-09-15 11:34:44 -07:00
Oleh Kurpiak
0c6a951615
[Spring] Bean validation for headers ( #13414 )
2022-09-14 23:07:08 +08:00
Elton H.Y. Chou
8e66294bfe
[python-experimental] Enhance octet-stream deserialize ( #13402 )
...
* [python-experimental] Enhance octet-stream deserialization
When the headers didn't provide the filename, use the url of response to
extract filename.
* [python-experimental] Remove todo comment.
* [python-experimental] Fix test code.
* Update samples
* [python-experimental] Refined the method and the test
+ Early return when the url is empty or `None`.
+ Removed unused f-string prefix.
* [python-experimental] Comapre url is None explicitly.
* Update samples.
2022-09-12 12:04:14 -07:00
Justin Black
c59759f20a
Adds IJsonSchemaValidationProperties format getter and setter +uses the format info ( #13360 )
...
* Adds format getter and setter
* Updates codegenProperty
* Updates codegenModel
* Updates codegenParameter + Response
* Sets format and removes unused import code in python-experimental
* Samples regenerated
* Samples regenerated
* Adds AnyTypeAndFormat
* Separates format bases out from their str or number bases
* Docs updated
* Updates python-exp, stops setting isDate and uses format instead
* Removes python-experimental isDate usages
* Fixes password usages
* Turns off isDateTime in python-experimental java layer
* Sample regnerated without isDateTime
* Removes isUuid
* Turns off isDecimal, decimal_payload broken
* Removes isDecimal
* Removes isByteArray
* Removes isBinary python-exp usages
* Removes isFloat isDouble setting from python-experimental
* Removes isDouble isFloat usages in sample
* Stops setting isShort and isLong in python-exp java layer
* Removes isShort isLong usages from python-exp and generates sample
* Adds decimal as integer input
* Adds missing bool type
* Adds validations to format mixins, adds test_uuid
* Adds test_date
* Adds test_date_time
* Adds test_number
* Adds test_int32
* Adds test_int64
* Adds test_double
* Adds test_float
* Samples updated
* Fixes javadoc
2022-09-11 09:17:16 -07:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
Justin Black
c4d56afcae
[python-experimental] adds test verifying inheriting from multiple AnyType classes ( #13358 )
...
* Adds test_additional_properties_validator
* Updates test
* Reverts file
2022-09-05 17:18:51 -07:00