Cameron Koegel
54d996732f
[Ruby] Fix Operation Servers ( #16144 )
...
* [Ruby] Fix Operation Servers
* user `server_index` instead of `index`
* use nil as default
* add tests
* revert tests
* add tests to custom file
* add test file to ruby-faraday
2023-07-25 12:18:23 +08:00
Cameron Koegel
de0bffb99d
[Ruby] Update Model Creation and Attribute Validation ( #16114 )
...
* update attribute validation and model creation
* generate samples
* update tests
* update other tests
* fix custom pet_spec tests
* fix autoload tests
2023-07-21 08:58:55 +08:00
William Cheng
7dee666826
add python name mapping support ( #16120 )
2023-07-20 17:30:01 +08:00
Dennis Melzer
e77f9ea783
Add new OAuth2RequestInterceptor to remove deprecated open feign classes ( #16011 )
...
* Add new OAuth2RequestInterceptor to remove deprecated open feign classes
* Add override
* Add version
* Add older version
* Update docs
* Fix issue with multiple security schemes
* Move cli option to spring code gen
* Fix documentation options
* Remove resource folder
* Fix duplicate annotation
* Add an enable flag
* Remove generator setting
* Revert codgen changes
* Revert config generator changes
2023-07-13 08:35:39 +08:00
William Cheng
7b3681af47
fix isMap ( #16043 )
2023-07-11 17:14:44 +08:00
Peter Leibiger
75067b2581
[Dart] Update CI ( #15981 )
...
* [dart] Update CI
* cache maven dependencies
* use newest exec plugin
* execute pub via dart subcommand
* Use run command directly
2023-07-10 11:27:01 +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
William Cheng
9170306ffa
Fix Spring CI sample folder ( #16005 )
...
* fix spring CI sample folder
* fix path
* trigger build
* test push
* add spring jdk17 workflow
* trigger build
2023-07-07 10:23:34 +08:00
Bodo Graumann
ba1c600830
[typescript] Fix support for relative URLs ( #15482 )
...
* Add test for different url types
* Fix tests for typescript inversify framework
* Add workaround for relative URLs
* Regenerate samples
2023-07-06 17:30:19 +02:00
bernie-schelberg-mywave
a42f90b0e8
Fix #12412 Use enum type for discriminator ( #13846 )
...
* Fix #12412 Use enum type for discriminator
* Rename variable
* Fix required property in test resource
* Add example of enum mapping to samples
* Generate samples
* Generate samples after merging master
* Regenerate samples
* Fix raw use of parameterized class
* Add test showing serialization and deserialization of classes with enum discriminator
* Remove old generated files
* Generate samples
* Generate samples
2023-07-04 23:25:39 +08:00
Richard Lavoie
117e5118b1
[GO] Fix value formatting in url with slices ( #15581 )
...
* fix reflect value for Slice
* Add test
2023-07-03 15:45:14 +08:00
Dennis Melzer
d6538e3327
Fix import for spring boot 3 ( #15949 )
...
* Fix import for spring boot 3 and add a test for optional generation
* Remove timestamp
* Add sample to github workflow
2023-07-01 14:31:44 +08:00
Noor Dawod
d5c53b9812
Fix epoch deserialization and parsing numbers ( #15948 )
...
* Fix 2 bugs with epoch deserialization and parsing numbers.
* Generate samples.
2023-06-30 00:06:12 +08:00
karzang
e9d98666a1
[Java][Client] Fix #12556 Support primitives and arrays in oneOf ( #13897 )
...
* [Java][Client] Fix #12556 Support primitives and arrays in oneOf
* Regenerate petstore samples
* Regenerate petstore test samples
* Treat 'BigDecimal' as primtive datatype
* Fix integration tests
2023-06-29 16:46:55 +08:00
Frederic Jones
3627e57a4c
Add validation.constraints package import to delegates when using bean validation ( #15921 )
2023-06-26 23:52:38 -07:00
martin-mfg
33e120a14d
[Eiffel] fix Eiffel schema lookup, clean up outdated samples ( #15901 )
...
* make all unmaintained samples executable
* remove samples not generated by any config (not even unmaintained configs)
* remove deleted samples from github workflows
2023-06-27 10:21:28 +08:00
martin-mfg
7e89e1ea81
fix import mapping for return types ( #14525 ) ( #15719 )
...
* importContainerType = true
* add unit test
* disable MyImportTest
* build all samples, add import exceptions
* simplify code
* delete myImportTest
* generate docs
* extend comment
* remove inline comment
2023-06-21 15:55:29 +08:00
Noor Dawod
3dd93beac2
Introduce changes necessary for Dart 3.0.0/Flutter 3.10.0 ( #15516 )
...
* Expose `deserialize` function.
* Rename `json` argument.
* Generate Petstore code.
* Upgrade minimum version of `intl` dependency.
2023-06-20 09:35:25 +08:00
Max Strübing
730b946537
[Bug] fix: use length to check for default return media type ( #15833 )
...
* fix: use length to check for default return media type
as `mediaTypes` is an array of strings and an required argument
it will never be undefined when we can rely on the typesystem.
However, it can be zero length(`[]`) and in this case we would
throw.
* Closes #15011
* chore: update examples
2023-06-16 07:23:58 +02:00
Rexios
95cefaeecd
[Dart] Convert DioError
to DioException
( #15783 )
...
* Convert `DioError` to `DioException`
* Update samples
* Update dio version in example
* Use proper dio version
* Regenerate dart samples
* Regenerate
* Regenerate samples
* update samples
* remove outdated test files
* update test
* remove outdated test files
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-16 00:16:39 +08:00
Szabolcs Székelyi
bca80c0d3d
[dart-dio] Correctly serialize path parameters ( #14666 )
2023-06-15 13:45:19 +08:00
William Cheng
b42234eb3c
[python] Fix map of array in property ( #15844 )
...
* fix map of array in property (python)
* update samples
2023-06-15 11:50:56 +08:00
William Cheng
d2e10a7229
install urllib3 < 2.1.0 ( #15810 )
2023-06-12 15:58:51 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
William Cheng
21748e024a
add py.typed ( #15804 )
2023-06-10 21:48:54 +08:00
Beppe Catanese
f240ed4e4e
[Go] Serialize readonly fields ( #15765 )
...
* Do not skip readOnly fields in ToMap()
* Regenerate sample
* Add test
* Correct test
2023-06-10 19:23:52 +08:00
William Cheng
1fb0ab997f
[Python] fix access_token set to None when constructing Configuration object ( #15802 )
...
* clean up files
* add tests for access_token
* fix bug with access_token
* update test method name
2023-06-10 19:22:02 +08:00
gyoganathan
fc474eab5f
Added BadRequestException as a subclass in python ( #15722 )
...
Co-authored-by: Gomathi Yoganathan <gyoganathan@C02G45FPMD6R.corp.proofpoint.com>
2023-06-10 15:27:18 +08:00
James Wynn
d27fa00cf5
fix : #1466 additionalProperties works now in spring generator ( #11572 ) ( fix #1466 )
...
* fix : #1466 additionalProperties works now in spring generator
* chore: chore: #1466 solved rebase conflicts
* 1466; updated samples
* [Spring] update additionalProperties MR
* [Spring] additionalProperties unit test
---------
Co-authored-by: Your Name <benfonty@gmail.com>
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-06-08 16:38:53 +03:00
martin-mfg
b7f2b723aa
[JAVA] fix toUrlQueryString for BigDecimal ( #15764 )
...
* add MyImportTest.java
* fix original issue
* fix same issue for native library
* remove MyImportTest
* add test configs
* generate samples (again?)
* generate samples again
* generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
2023-06-08 09:34:06 +08:00
Frederic Jones
59ba00e1f3
Add support for swagger2 in [java] client generators ( #15456 )
...
* Add support for swagger2 in java client generator
* Target 7.x.x
* Upstream changes
2023-06-06 15:41:12 +08:00
karzang
bc7bdca87f
support nullable check for OAS 3.1 ( #15698 )
2023-06-05 19:34:51 +08:00
Tiffany Marrel
c2f635a330
fix use of isBasic and isBasicBasic and isBasicBearer and isHttpSignature in documentation ( #15443 )
...
* [ada] fix use of isBasic condition
* [apex] fix use of isBasic condition
* [asciidoc] fix use of isBasic condition
* [python] fix use of isBasic condition
* [csharp C#] fix use of isBasic condition
* [htmlDocs] fix use of isBasic condition
* [Ruby] fix use of isBasic condition
* [scala] fix use of isBasic condition
* [julia] fix use of isBasic condition
* [Objective-C objc] fix use of isBasic condition
* [GraphQL] fix use of isBasic condition
* [MarkDown] fix use of isBasic condition
2023-06-01 09:47:00 +08:00
William Cheng
63a311a2e6
update go samples
2023-06-01 09:09:00 +08:00
William Cheng
f793d62744
Update dart workflow java version to 11 ( #15660 )
...
* update dart workflow java version
* add clean
* trigger build
2023-05-28 11:21:33 +08:00
William Cheng
4c7963cf54
remove deprecated options in kotlin client generator ( #15651 )
2023-05-26 14:51:55 +08:00
William Cheng
48ef91acc4
[python] Add test for nullable property with pattern ( #15625 )
...
* add test for nullable property with pattern
* update samples
2023-05-24 15:13:53 +08:00
Tiffany Marrel
cbcf3d36f6
[Java] [Kotlin] ( #14876 ) fix use of isBasic conditions - do not use HttpBearerAuth (or HttpBasicAuth) for other http auth methods (such as http signature auth or custom schemes) ( #15220 )
...
* remove http signature from test yaml when not supported
* do not use HttpBearerAuth for signature auth or other unsupported http auth method
ignore unsupported http auth method unless generated code would not compile (in which case, an exception is thrown)
* [Java] fix use of isBasic condition
* [kotlin] fix use of isBasic condition
2023-05-22 16:08:08 +08:00
Tiffany Marrel
216e2c45ff
[dart] fix use of isBasic condition ( #15523 )
2023-05-22 16:07:37 +08:00
William Cheng
01ed5975e1
rename python-nextgen to python ( #15504 )
2023-05-16 13:54:07 +08:00
martin-mfg
dd6ccaa84f
import @Valid in Spring delegates ( #15330 ) ( fix #15213 )
2023-05-15 14:55:21 +03:00
Oleh Kurpiak
54cb33c6a1
[Spring] remove deprecated annotation from no-args constructor ( #15512 )
2023-05-15 14:13:18 +03:00
William Cheng
780d266fe1
Decommission python client generator ( #15486 )
...
* decomission python client generator
* udpate
* update doc
2023-05-14 16:33:13 +08:00
Ween Jiann
78bffff8f3
[Go] Update API naming to follow Golang standard pkg (1 line change) ( #15331 )
...
* Add apiNameSuffix to AbstractGoCodegen
* Regenerate files
* Update tests
* Regenerate files
* Update test files
* Regenerate for CI test
* Regenerate for CI test
* Remove some docs
* Add files back
2023-05-13 09:40:26 +08:00
William Cheng
3371e883ab
Decommission python-legacy, python-prior client generators ( #15475 )
...
* decommission python-legacy, python-prior client generators
* update tests
* update doc
2023-05-12 13:46:39 +08:00
Noor Dawod
c84b949df1
Encode a Set
in toJson()
properly ( #15435 )
...
* Convert `Set` to `List` in `toJson()` for properly encoding a set.
* Generate samples code.
* Convert to List before encoding in `toJson()`.
* Add `!` for nullable properties.
2023-05-11 17:40:41 +08:00
Bodo Graumann
fc71f98bed
[typescript] Add missing types field to export declaration ( #15403 )
...
* Add types to exports in package.json
* Regenerate and build petstore samples
2023-05-11 09:59:43 +02:00
William Cheng
0c3460f95b
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-05-10 15:00:56 +08:00
Tiffany Marrel
8a6c708884
[Java] Cleanup documentation ( #15300 )
...
* [Java] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Java] fix anchor links in documentation
2023-05-10 14:14:44 +08:00
Tiffany Marrel
c251202869
[Python] cleanup documentation ( #15301 )
...
* [Python] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Python] fix anchor links in documentation
2023-05-09 16:24:56 +00:00