devhl-labs
de8f846666
[csharp] Improved regex support ( #16269 )
...
* improved regex support
* better parsing of options
* better handling of options
* spacing change
* typo
* rename the x-modifier- extension
* trivial change
* added to the sample
2023-08-08 11:40:20 +08:00
William Cheng
a9cfa1f391
[kotlin-spring] minor bug fixes ( #16270 )
...
* kotlin-spring: minor bug fixes
* comment out tests
2023-08-08 10:05:34 +08:00
William Cheng
50ee574d1f
[kotlin] Escape dollar sign in baseName ( #16266 )
...
* escape dollar sign in baseName (kotlin)
* escape dollar sign in kotlin server jaxrs-spec template
* add new files
* update samples
2023-08-08 10:05:15 +08:00
Ween Jiann
2b44d4ed93
[go-server] Partially reverts and fix #15185 ( #16258 )
...
* Partitally reverts #15185
* Remove unused import
* Set zero value if param is empty
* Refactor samples, add test config
* Add tests
* Clean up
* Fix test
2023-08-07 20:43:30 +08:00
William Cheng
097385bde6
[bug][kotlin] sanitize model names according to convention ( #16267 )
...
* [bug][kotlin] sanitize model names according to convention
* [bug][kotlin] revert to english word sanitization except minus
---------
Co-authored-by: Theo Meneau <tmeneau@clearcover.com>
2023-08-07 14:38:29 +08:00
Martin Visser
f6ac603e15
[kotlin] Add fix for wrongly encoded backticks for reserved words when generating kotlin-spring server code ( #14027 )
2023-08-07 09:32:00 +08:00
William Cheng
9322c2fc29
fix default value, add nullable support ( #16265 )
2023-08-06 20:08:22 +08:00
William Cheng
5b2ceac93d
fix anyOf in handling primitive types in java client ( #16264 )
2023-08-06 13:48:13 +08:00
William Cheng
f0b100a9ad
Add a test for BigDecimal parameter in java client ( #16263 )
...
* add a test for BigDecimal parameter in java client
* update tests
2023-08-06 12:14:21 +08:00
William Cheng
6f05655101
Add mapping features to R client generator ( #16252 )
...
* add mapping features to r client generator
* update samples
2023-08-05 13:34:57 +08:00
William Cheng
d1f23ef663
add mapping features to crystal client generator ( #16253 )
2023-08-05 13:34:34 +08:00
William Cheng
f6fb83878b
[Default] update isAdditionalPropertiesTrue tag to cover more types ( #16227 )
...
* enhance additional properties support
* update samples
* update tests
* add more tests
* update samples
* fix samples
2023-08-05 13:32:43 +08:00
William Cheng
82516c75d2
Fix implements in oneof, anyof templates in java okhttp client generator ( #16241 )
...
* fix implements in oneof, anyof templates in java okhttp
* add tests
* update samples
2023-08-03 21:09:00 +08:00
William Cheng
4602f18ca8
Add model name mapping feature to C# codegen ( #16209 )
...
* add model name mapping feature to C# codegen
* rename file
* update samples
* update doc
2023-08-02 10:06:11 +08:00
William Cheng
3278eea9a4
Add tests for #16217 ( #16221 )
...
* add tests for #16217
* add new files
2023-07-31 11:03:36 +08:00
William Cheng
f3b3de2a29
add property, parameter name mapping to php generators ( #16206 )
2023-07-30 21:58:05 +08:00
William Cheng
243b5569ef
[Rust] add property, parameter name mapping ( #16205 )
...
* add name, parameter mapping to rust generators
* add, fix test
* undo cahnge
2023-07-30 21:57:35 +08:00
William Cheng
d41fe12c1f
[python] Add tests for simple object with additional properties ( #16218 )
...
* add tests for simple object without additional properties
* update logic
2023-07-29 11:43:37 +08:00
William Cheng
7ca84e5c88
Add name, parameter name mapping to abstract go codegen ( #16171 )
...
* add name, parameter name mapping to abstract go codegen
* better code format
2023-07-28 09:57:23 +08:00
William Cheng
5d2e80977b
add name, parameter mapping to scala generators ( #16194 )
2023-07-28 09:51:50 +08:00
William Cheng
184dfd2edd
[Kotlin] Add name, parameter mapping support ( #16193 )
...
* add name, parameter mapping support to abstract kotlin
* remove files
2023-07-28 09:42:08 +08:00
William Cheng
86cf4f1eb1
add mapping option to ada codegen ( #16190 )
2023-07-28 09:41:43 +08:00
William Cheng
d7311cd5cd
[Ruby] add property, parameter name mapping ( #16191 )
...
* add property, parameter name mapping support to ruby generators
* update samples
2023-07-27 09:48:53 +08:00
Tom Milligan
f32be9df0b
rust: fix rust generation of optional additionalProperties in openapi 3.1.0 ( #16143 )
...
* rust: add regression test for 16119
* rust: fix rust generation of optional additionalProperties in openapi 3.1.0
* [review] fix gha sample path
2023-07-25 19:39:26 +08:00
William Cheng
9aa15d9f09
[ruby] Add tests to operation servers in ruby client ( #16179 )
...
* add tests to operation servers in ruby client
* update samples
* revert change in spec, remove invalid? check in anyof model
* fix hsot table
* fix circleci config
* fix
* fix host table
* fix host table
* minor fix
* fix
* reorder
* update
* fix
2023-07-25 19:29:06 +08:00
Alexey Makhrov
24656156ed
[typescript-angular] Add samples with composed schemas ( #16156 )
...
* Setup typescript-angular samples for various composed schemas
* generate samples
* restructure and regenerate samples
* add compilation tests
* update FILES in samples
* debug commit - verify that compilation will fail in CI
* revert debug commit
* remove unnecessary dependencies
2023-07-25 10:53:38 +02:00
Luca
584f8448ee
[Java][Native] Fix multipart builder files array ( #16055 ) ( #16094 )
...
* [Java] Fixed bug in native client generation when API accepts array of files (#16055 )
* Adding test for java native client
* Updated samples
2023-07-24 15:57:21 +08:00
William Cheng
0a02860b50
add parameter name mapping ( #16160 )
2023-07-24 15:54:40 +08:00
Florent Chamfroy
3c5b119252
fix(typescript-client): handle special characters ( #15893 )
...
Adding a new option for typescript clients in order to handle '+' and '-' characters when computing the name of an enum value.
Fix https://github.com/OpenAPITools/openapi-generator/issues/5110
2023-07-22 22:35:45 +04:00
William Cheng
fb2c866dfc
Revert "fix(java): plus url encoding ( #15539 )" ( #16158 )
...
This reverts commit d000f90759202967ad5d719e5031307f486bf6fb.
2023-07-22 16:44:29 +08:00
Song Gie
d000f90759
fix(java): plus url encoding ( #15539 )
2023-07-22 16:27:36 +08:00
William Cheng
7252d1a698
[Ruby] add anyOf support ( #16147 )
...
* add anyOf support
* remove valid? from oneOf template
2023-07-21 11:38:07 +08:00
William Cheng
ddc2b3e560
Add tests for oneOf models in ruby client ( #16137 )
...
* add test for oneOf model in ruby
* add new files
* add tests for oneOf model without discriminator
2023-07-20 17:35:40 +08:00
William Cheng
7dee666826
add python name mapping support ( #16120 )
2023-07-20 17:30:01 +08:00
William Cheng
a729cb4e09
Add support for isFreeFormObject flag ( #16127 )
...
* correctly set the free form object flag
* update
* better code format
2023-07-20 14:10:12 +08:00
William Cheng
28e822d870
remove php slim generator (deprecated) ( #16108 )
2023-07-18 13:10:21 +08:00
William Cheng
6983a3acf3
Add nameMapping option to Java client, server generators ( #16103 )
...
* add nameMapping to java codegen
* update doc
* update samples
* fix typo
* update toParamName
2023-07-17 11:37:49 +08:00
William Cheng
7258b3c171
Fix allOf with a single $ref ( #16096 )
...
* new test
* fix allOf with a single ref in inline model resolver
2023-07-14 19:54:58 +08:00
William Cheng
80e2c05bad
Add isJson, isXml to consumes, produces ( #16085 )
...
* add isJson, isXml to consumes, produces
* code cleanup, update samples
2023-07-14 16:02:59 +08:00
Daniel Lange
1531ad48d0
Fixed problem with non-ref-enums which were handled like ref-enums ( #16050 )
...
* #15476 Fixed problem with non-ref-enums which were handled like ref-enums
* Adjusted test expectation
2023-07-13 09:55:14 +08:00
William Cheng
c6f6ef92d0
Refactor getAdditionalProperties, isFreeFormObject ( #16065 )
...
* refactor getAdditionalProperties, isFreeFormObject
* change warn to debug
2023-07-13 08:32:42 +08:00
William Cheng
ec6381295a
Update php options for better customization of composer.json ( #16078 )
...
* update php options
* update tests
2023-07-12 13:22:05 +08:00
William Cheng
0a6671044f
Rename inlineSchemaNameDefaults to inlineSchemaOptions ( #16048 )
...
* rename InlineSchemaNameDefaults to InlineSchemaOptions
* update doc
* rename options
2023-07-11 18:07:09 +08:00
William Cheng
7b3681af47
fix isMap ( #16043 )
2023-07-11 17:14:44 +08:00
William Cheng
ac1f5f1e81
[inline model resolver] Add support for inline enum refactoring ( #16033 )
...
* add support for inline enum refactoring
* minor update
* add tests
2023-07-10 13:43:50 +08:00
William Cheng
852eb956db
[kotlin][spring] Remove EOL from template ( #16045 )
...
* remove EOL from template
* better code format
2023-07-10 11:44:29 +08:00
William Cheng
94d76ff5d4
Better inline schema naming for double byte characters ( #16035 )
...
* better inline schema naming for double byte characters
* clean up
* update deprecated methods
2023-07-10 09:38:54 +08:00
William Cheng
52dd41159f
Revert "better inline schema naming for double byte characters"
...
This reverts commit aaf9ce637adbb1f4c6d90336c7408447aae33d9a.
2023-07-08 22:37:42 +08:00
William Cheng
aaf9ce637a
better inline schema naming for double byte characters
2023-07-08 22:37:18 +08:00
William Cheng
08c3f8973e
[python] Fix array of array of model's to_dict, from_dict ( #16032 )
...
* fix array of array of model's to_dict, from_dict
* update samples
2023-07-08 14:12:42 +08:00