Hansjörg Oppermann
8bab0ceb53
Generated methode ApiClient.parameterToPairs failed to handle empty collections #17460 ( #17463 )
...
* #17460 add missing empty collection check
* generate samples
2024-01-10 02:29:10 +08:00
Thomas Kläger
69a4a65bc7
fix spring generator dto annotations ( #17054 )
2024-01-09 16:47:10 +08:00
Steven Sheehy
209344ba40
[java][native] Fix ObjectMapper deprecation warnings ( #17558 )
...
* Fix ObjectMapper deprecation warnings
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
* Fix missing JsonMapper import
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
---------
Signed-off-by: Steven Sheehy <steven.sheehy@swirldslabs.com>
2024-01-09 16:37:59 +08:00
Armand Mégrot
07a9257ee9
[Ruby][client] Handle enums (and other scalars) in oneOf and anyOf schemas ( #17515 )
...
* Handle enums in oneOf and anyOf schemas
* Update specs
2024-01-05 15:01:08 +08:00
martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com>
2024-01-05 10:30:28 +08:00
Milad
8c014372aa
[Java RESTEasy client] updating test to use the Java RESTEasy echo api client ( #17367 ) ( #17470 )
...
* updating test to use the Java RESTEasy echo api client (#17367 )
* regenerated samples
* set source and target to 1.8 to fix workflow failure, adapted parser
2023-12-26 09:32:51 +08:00
Mickael Magniez
38c33b92fe
Add scala-pekko client generator ( #17417 )
...
* feat: add scala-pekko client generator
* feat: add scala-pekko client to CI
2023-12-22 10:58:27 +08:00
Beppe Catanese
986a9146d7
Remove tests replaces with Python sample testing ( #17453 )
2023-12-22 10:57:25 +08:00
Nikita Shmakov
3099a2fcd3
webclient explode query parameters support ( #17441 )
2023-12-21 19:35:07 +08:00
Milad
106047980b
[Java RESTEasy client] added filename directive for Java RESTEasy file uploads ( #17367 ) ( #17435 )
...
* added filename directive for Java RESTEasy file uploads (#17367 )
* regenerated samples
2023-12-21 19:34:30 +08:00
Ween Jiann
bf4c98a82a
[go-server] Add ability to handle nullable query param ( #17321 )
...
* Update
* Regen
2023-12-21 19:13:05 +08:00
Beppe Catanese
a34eeaed77
[GO Gin Server] Webhooks support: add missing webhook handlers ( #17411 )
...
* Implement postProcessWebhooksWithModels
* Implement postProcessWebhooksWithModels
* Add missing webhook handlers
* Test webhook handler
* Generate samples
2023-12-21 16:10:09 +08:00
William Cheng
6d9211a131
Update dependencies to newer versions ( #17449 )
...
* update dependencies to newer versions
* remove test
2023-12-21 16:09:18 +08:00
William Cheng
a62132ecd9
fix exception in request body with enum ref ( #17438 )
2023-12-21 15:22:28 +08:00
William Cheng
dc047b4e91
fix missing array description in 3.1 spec ( #17427 )
2023-12-19 11:35:46 +08:00
William Cheng
473c3508ff
to fix loop for allof with single element in normalizer ( #17426 )
2023-12-19 11:31:25 +08:00
William Cheng
367301de22
deref parameter in normalizer for 3.1 spec ( #17406 )
2023-12-15 12:18:07 +08:00
Ween Jiann
b7f31ddda4
Regenerate ( #17389 )
2023-12-13 22:17:15 +08:00
hhomar
28b2c75ac8
Fix issue with URI type in the enum ( #17126 )
...
* fix(java): fix URI inner enum for gson
* fix(java): fix URI enum for gson
* fix(java): fix URI enum for microprofile
* fix(java): fix URI import for native enum
* fix(java): add tests for URI enum
2023-12-13 14:19:51 +08:00
William Cheng
64c85a8fee
Fix NPE in codegen security ( #17378 )
...
* fix npe in codegen security
* add new test file
2023-12-12 22:33:20 +08:00
Aliaksei
809b3331a9
[4947][java]: adds support for validation of primitives in arrays ( #17165 )
...
* [4947][java]: adds support for validation of primitives in arrays
* [4947][java]: prevents generation '@Valid' for Object
* [4947][java]: test against different codegens and stick to primitive
* [4947][java]: code review
* [4947][java]: enhance getBeanValidation
* [4947][java]: adds email
* [4947][java]: removes unnecessary override
* [4947][java]: adds postProcessResponseWithProperty
* [4947][java]: adds missing import {{javaxPackage}}.validation.Valid
* [4947][java]: adds missing useBeanValidation
* [4947][java]: fix use rootJavaEEPackage for helidon
2023-12-11 20:55:38 +08:00
William Cheng
d4d5196907
Better handling of any type in v3.1 spec ( #17370 )
...
* fix NPE in the example generator
* fix any type in 3.1 spec
* use log error instead
2023-12-11 17:13:55 +08:00
Beppe Catanese
9eb5882f94
OpenAPI 3.1.0 Add webhooks support ( #17174 )
...
* Add support for webhooks
* Test webhook generation with Go Gin server
* Generate samples
* Removing \t
* Remove tabs
2023-12-11 11:21:23 +08:00
Dennis Melzer
e37decff7b
Add Java Optional for POJOs in JavaSpring templates ( #17202 )
...
* Add optional parameter for request body
* Adapt Test
* Add test
* Format code
* Remove extra method
* Add optional for pojos
* Add optional for pojos
* Add bean validation for Optional
* Add default values + test
* Rename test
2023-12-08 21:46:13 +08:00
Vladislav Bauer
62462354ca
[csharp] Support 420 HTTP code ( #17207 )
...
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
2023-12-08 21:35:03 +08:00
William Cheng
2c9fbf81a7
add enum name mapping to ada codegen ( #17299 )
2023-12-06 17:50:03 +08:00
Viktor Szépe
39d5b4ebf9
Replace stray TAB characters with spaces ( #17311 )
...
* Replace stray TAB characters with spaces
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-05 18:01:25 +08:00
Beppe Catanese
62faa53373
[POSTMAN] Include header description ( #17292 )
...
* Include header description
* Generate samples
2023-12-03 08:06:09 +08:00
Beppe Catanese
6657b2c5c2
[POSTMAN] Query parameter description ( #17291 )
...
* Include query parameter description
* Generate samples
2023-12-03 08:05:44 +08:00
Beppe Catanese
ac78f1e85b
[POSTMAN] Enabling required query parameters ( #17281 )
...
* Enable required query parameters
* Generate samples
2023-12-02 17:41:05 +08:00
SAIA-Basseldonk
8911740924
[BUGFIX][Rust] Array with unique enum items no longer causes mismatched types error ( #17197 )
...
* check args to fn new for uniqueItems
* Added model with unique items for template testing
* build the project and update samples
* Removed testcase from fake petstore spec
2023-11-30 22:08:37 +08:00
Dennis Melzer
939ffdd73c
Add bean validation for primitive container type 17450 ( #17157 )
...
* Add optional parameter for request body
* Adapt Test
* Add test
* Format code
* Remove extra method
* Format code
2023-11-30 20:28:45 +08:00
Beppe Catanese
a8ac32238b
[BUG] OpenAPI normalizer ignoring common parameters ( #17236 )
...
* Normalize common and operation parameters
* Test normalize schema v3.1
2023-11-30 10:31:31 +08:00
Beppe Catanese
fd58539fe9
[JAVA] Jersey3 deprecated field only deprecates getter method ( #17221 )
...
* Deprecate build and setter methods
* Generate samples
2023-11-29 21:54:17 +08:00
William Cheng
46dd87525e
Add tests for max,min items in array (rust-server) ( #17215 )
...
* add tests for max,min items in array (rust server)
* fix both min, max items
2023-11-29 16:21:54 +08:00
devhl-labs
4f82071502
[csharp][generichost] Honor the Set-Cookie header ( #17186 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* remove changes for another pr
* resolved conflicts, build samples
* fixed a casing issue
* fixed casing issue
2023-11-27 11:01:05 +08:00
devhl-labs
3fa21b5603
do not inherit additional properties ( #17140 )
2023-11-26 21:49:00 +08:00
devhl-labs
ad95d551ed
[csharp][generichost] Allow multiple auth methods of same type ( #17129 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
2023-11-26 21:46:48 +08:00
devhl-labs
8bea7f7377
handled nullable inner enums better ( #17128 )
2023-11-26 21:45:25 +08:00
William Cheng
4c6dbfe7d6
fix build errors in jdk 11 ( #17177 )
2023-11-24 17:40:13 +08:00
William Cheng
0dbc108d62
Add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore ( #17164 )
...
* add openapiGeneratorIgnoreList option to pre-populate .openapi-generator-ignore
* minor fix
* better code format
* add tests
2023-11-23 11:10:29 +08:00
William Cheng
a93bab077f
Add openapi-normalizer rule to set tags to operationId ( #17161 )
...
* add normalizer rule to set tags to operationId
* update
2023-11-23 11:09:09 +08:00
Makoto Suzuki
baaf759440
[python-fastapi]Add an alias keyword parameter for Query parameter ( #17111 )
...
* add alias to endpoint_definition
* regenerate source code
2023-11-21 11:34:43 +08:00
William Cheng
0401c46147
Fix missing objects when defining inline anyOf, or oneOf ( #17141 )
...
* better handling of composed schema in inline model resolver
* better handling of example
2023-11-20 10:24:57 +08:00
William Cheng
6d93b0ec83
Fix handling of composed schema in inline model resolver ( #17138 )
...
* fix handling of composed schema in inline model resolver
* update samples
2023-11-19 23:24:49 +08:00
William Cheng
186fde250b
[spring-cloud] add http basic test ( #17135 )
...
* update samples
* add tests for spring cloud http basic
* fix path
* update samples
2023-11-19 16:07:28 +08:00
William Cheng
8258cde110
[jmeter] Fix exception when operationId has $ ( #17125 )
...
* fix exception when operationId has $ in jmeter
* add tests
2023-11-18 14:38:19 +08:00
Tomohiko Ozawa
37451fa569
[Java][resttemplate] Add test for bearer auth ( #17081 )
...
* add bearer auth API to echo-api
* run generate-samples.sh
* add resttemplate echo-api sample
* add bearer auth test
* remove @Ignore
2023-11-16 00:38:49 +08:00
Robert Schweizer
e47e7041f7
[python][Feat] Deserialize error responses ( #17038 )
...
* refactor: Clean up _response_types_map formatting
It matches black's behavior of having trailing commas now.
* test: Add test to reproduce #16967
* fix: deserialize responses even if no returnType
Closes #16967
* refactor: Simplify ApiException subclasses
* refactor: Move exception subtype choice to ApiException
* feat: Deserialize error responses and add to exceptions
* test: Add for error responses with model
2023-11-16 00:37:04 +08:00
William Cheng
322afeacd4
Retain deprecated in allOf schema handling ( #17056 )
...
* retain deprecated in allof schema handling
* add test
2023-11-14 11:22:36 +08:00