Terence Honles
c2f244ccfa
fix(typescript-angular): fix model filename including modelNamePrefix ( #14859 )
...
This change removes the modelNamePrefix from the API import filename
to be consistent with the processing in the rest of the class.
2023-03-02 14:49:14 +01:00
Oleh Kurpiak
440861270e
[Core] Close Stream<Path> on spec merger ( #14862 )
2023-03-02 15:07:46 +02:00
Oleh Kurpiak
ca3e8be1bc
[Java][Spring] version parameter ( #14847 )
2023-03-02 13:29:01 +02:00
William Cheng
60e2d605c4
[python-nextgen] fix enum default value ( #14846 )
...
* fix enum value
* add test for default value
* update samples, better code format
2023-03-02 17:36:38 +08:00
Kuzma
c8fab3f40a
[Typescript] Use for of instead of for in at ObjectSerializer ( #14849 )
...
* [Typescript] Use for of instead of for in
* fix for
* regenerate samples
2023-03-01 22:16:01 +01:00
Joe Spandrusyszyn
2458743257
[Typescript-Axios] Add options to TypescriptAxios reserved words ( #14650 )
...
* Add options to TypescriptAxios reserved words
* Update generated docs
---------
Co-authored-by: Joseph Spandrusyszyn <joseph.spandrusyszyn@bstock.com>
2023-03-01 15:48:19 +01:00
jmejane
350fb82bed
[K6] Enhancement: Make operationId accessible inside requests ( #14787 )
...
* feat(k6): Make operationId accessible inside requests
* feat(k6): Update sample script
* feat(k6): re-add space deleted by formater
2023-03-01 22:46:12 +08:00
Adam Stoffel
43493a94fe
[typescript] Fix Invalid path separator for imports on Windows ( #14754 )
...
Fix for #14753
2023-03-01 15:41:18 +01:00
Antoine Lucas
e1ab25c915
Add constructor with required parameter for Spring ( #14822 ) ( fix #9789 )
...
* Add constructor with required parameter for spring
Fix #9789
* [Java][Spring] constructor with required args
---------
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-03-01 15:09:47 +02:00
William Cheng
6d48d73421
python-nextgen switch union order ( #14762 )
2023-03-01 15:30:18 +08:00
William Cheng
e82ae6bacd
[python-nextgen] Add datetime, date format support ( #14799 )
...
* add datetime, date format support in python nextgen
* encode query parameters
* update default datetime format
* change default datetime format
2023-03-01 15:29:47 +08:00
Sylvain Joubert
a9e4eaf582
[C++][Pistache] Add some missing {{declspec}} on classes and functions ( #14808 )
2023-02-28 18:19:43 +08:00
William Cheng
a4b5b85067
Update jackson nullable version to newer version v0.2.6 ( #14823 )
...
* update jackson nullable to newer version
* update samples
* update samples
* update samples
2023-02-27 18:38:31 +08:00
Michel Wohlert
07f1d2d51c
Encode request parameters to enable whitespace characters ( #14797 )
2023-02-27 09:25:28 +08:00
Rémi Kalbe
099f138dd5
[RUST] Upgrade reqwest-middleware ( #14819 )
...
* [RUST] Upgrade reqwest-middleware
Bump reqwest-middleware from 0.1.6 to 0.2.0
* Bump sample
2023-02-27 09:05:37 +08:00
William Cheng
b5d4fa9d27
fix unique items in python nextgen client ( #14816 )
2023-02-26 10:21:26 +08:00
Emma
1f2d6b8848
[python-nextgen] support dict query params ( #14727 )
...
* [python-nextgen] convert dictionary query params to string
* [python-nextgen] regenerated samples
* [python-nextgen] added some test cases for parameters_to_url_query
* [python-nextgen] use json.dumps instead of str(v)
* [python-nextgen] update api_client tests
2023-02-25 22:25:52 +08:00
Dennis Melzer
92b96635bd
Fix bean validation for Collection and add unit test ( #14736 )
...
* Fix bean validation for Collection + uni test
* Fix
* Adapt examples
* Fix comments
* Merge master
* Remove Bean validation for Maps
* Remove @Valid from jakarta
* Fix example
* Fix comments
* Fix springboot-3 example
2023-02-25 22:06:31 +08:00
David Weinstein
3aa7ec6a39
Get API configuration from application environment for erlang-client ( #14752 )
...
* Get config from classname api
* Use the packageName
* Add samples
2023-02-25 22:05:14 +08:00
sbilz
f4e53db8cf
Java Jersey glassfish fix renewing OAuth-Accesstoken #14734 ( #14735 )
2023-02-25 22:01:33 +08:00
catostrophe
5c9999b7cf
Stop using org.springframework.util.Base64Utils in Java generators ( #14813 )
...
This utility class has been marked as deprecated for future removal since Spring 6.0.5. All Java generators, except WebClient and RestTemplate, are already using Base64 directly.
2023-02-25 21:56:18 +08:00
William Cheng
8b2de37414
[openapi-normalizer] add a new rule to set tags for all operations ( #14794 )
...
* add doc for KEEP_ONLY_FIRST_TAG_IN_OPERATION
* add new rule SET_TAGS_FOR_ALL_OPERATIONS
* better null check
* improve doc
2023-02-24 15:26:34 +08:00
William Cheng
d400d7fb15
Better handling of x-nullable in codegen property ( #14800 )
...
* add failed tests
* add logic to handle x-nullable in property
* update samples
* update test
2023-02-24 15:24:34 +08:00
William Cheng
cab9872d6d
Add from_dict in model anyOf in python-nextgen ( #14781 )
...
* add from_dict to model_anyof template in python-nextgen, fixes #14767
* add space before from_dict in model.anyof in python-nextgen
* update samples, add tests
---------
Co-authored-by: Tomas Karasek <tom.to.the.k@gmail.com>
2023-02-22 10:56:05 +08:00
Cameron Koegel
18ef6ff96a
[Ruby] fix return_binary_data
with attr_accessor
( #14772 )
...
* [Ruby] fix `return_binary_data` with `attr_accessor`
* regenerate samples
2023-02-22 00:51:21 +08:00
Sergey Prytkov
94733b8bdf
ktor-client fix array generation ( #14778 )
2023-02-21 10:58:11 +00:00
William Cheng
e09196261a
Add rule to simplify oneOf/anyOf ( #14777 )
...
* add rule to simplify oneof/anyof
* update doc
* test nullable
2023-02-21 17:39:43 +08:00
William Cheng
c9958e12b8
Add rule to simplify boolean enum ( #14764 )
...
* add rule to simplify boolean enum
* update doc
2023-02-21 14:06:24 +08:00
William Cheng
b215f67b2e
fix gradle properties with the correct snapshot version
2023-02-20 16:44:23 +08:00
Naoki Ikeguchi
9290c1a75e
[rust-server] Fix clippy warnings ( #13907 )
...
* fix(rust-server): clippy::blacklisted_name -> clippy::disallowed_names
* fix(rust-server): Remove unnecessary deref
* fix(rust-server): Allow clippy::single_match
* fix(rust-server): Use clone instead of to_owned on Cow
* fix(rust-server): Remove needless borrows
* chore(rust-server): Update sample outputs
2023-02-20 13:46:01 +08:00
William Cheng
94d6faffe3
revert spring boot back to 2.5.14 ( #14755 )
2023-02-20 12:35:47 +08:00
Kuzma
fb18e7a039
[Typescript] Enums generation (7.0.0) ( #14663 )
...
* Enums generation
* regenerate tests
* Update tests
2023-02-19 13:45:18 +01:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
William Cheng
1bd3ce7ce2
[python-nextgen] Better oneOf, anyOf support ( #14743 )
...
* better oneof, anyof support
* improve anyof support
* fix deprecation warning
* fix anyof, add tests
* add nullable support, add test
2023-02-19 17:16:15 +08:00
Jorge Rodríguez Martín
cb20e742ea
[BUG][JAVA][SPRING] Fix serialization when there is a discriminator with mapping ( #14733 ) ( fix #14731 )
...
* Fix serialization when there is a discriminator with mapping
* Update samples
* Update samples
* upgrade samples
* Revert "Update samples"
This reverts commit d6affde263d6c539e32a7f38dc984cf5948ab322.
2023-02-18 07:00:44 -08:00
GregDThomas
c5d67ee042
Fix https://github.com/OpenAPITools/openapi-generator/issues/11570 by ensuring tags at the class level match tags at the method level ( #13434 )
2023-02-18 06:23:10 -08:00
Justin Sherrill
e9f55c0dd9
[Bug][Go] consider allOf schemas for rendering string default vaules ( #14684 )
2023-02-18 11:07:09 +08:00
William Cheng
7968349991
go server - use tabs instead of spaces ( #14740 )
2023-02-18 00:37:53 +08:00
Rodrigo Cebrián González
612dc4dbcb
[BUG][Go] Remove "null" body value when body is empty #13927 ( #13934 )
...
* only write reponse body if not nil
* update go samples
* golang style convention
2023-02-18 00:29:12 +08:00
davidediak
09ff22230d
fix: Inline model schema's name is wrong ( #14687 )
2023-02-18 00:10:20 +08:00
Sergey Prytkov
958609931b
ktor-client add toString() for generic params ( #14717 )
...
* ktor-client add toString() for generic params
* fix builder receivers
2023-02-17 09:56:36 +00:00
Oleh Kurpiak
2bc963f00c
Generate merge spec ( #14387 )
2023-02-17 10:40:05 +08:00
RInverid
9be92fabd1
fix incorrect method name ( #14720 )
2023-02-16 22:22:55 +08:00
Beppe Catanese
6095d2df75
Support CommaSeparatedTuples including commas ( #14535 )
...
* Test parsing CSV values including commas
* Remove commented line
2023-02-16 18:36:47 +08:00
Dave Syer
0e0cddacac
Make sure jaxrs-spec works with Jakarta ( #14654 )
2023-02-16 18:29:37 +08:00
Robbert van Waveren
ae0ed022d5
take numeric types into account for array defaults ( #14694 )
2023-02-16 18:28:26 +08:00
John Vandenberg
11d9d4346e
[rust] Fix content-type in templates ( #14702 )
2023-02-16 17:54:02 +08:00
Antoine Vandecreme
12e76ec14f
Fix escaping in R ( #14572 )
2023-02-16 16:02:03 +08:00
William Cheng
d7e75ebe5d
fix anyof toUrlQuery string in java native ( #14715 )
2023-02-16 14:46:57 +08:00