devhl-labs
3b11187200
made escaped regex be not literal strings ( #15107 )
2023-04-04 15:15:14 +08:00
William Cheng
3d7c173eb2
update ue4 c++ client
2023-04-01 19:11:37 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
devhl-labs
c838b1d1f9
made default strings use string literal ( #15049 )
2023-04-01 10:36:10 +08:00
William Cheng
9fa032b365
add isOverridden, update java pojo with setter for parent prop ( #15051 )
2023-03-29 10:57:49 +08:00
RInverid
36332331e4
Skip null form values for Java native request builder ( #15036 )
2023-03-29 10:55:28 +08:00
William Cheng
a4dd90c01d
Better allOf handling in fromProperty ( #15035 )
...
* fix allOf handling in fromProperty
* add null check, update samples
* update dart generator to handle allof with a single ref
2023-03-26 15:06:27 +08:00
William Cheng
25adbe33a6
update cpp ue4 samples
2023-03-25 15:23:25 +08:00
devhl-labs
ca757b703e
better handling of form parameters ( #15040 )
2023-03-25 15:08:20 +08:00
William Cheng
f5e427ad52
Do not add schema / class name mapping where custom mapping exists ( #14984 )
...
* fix #13150 Do not add schema / class name mapping where custom mapping exists
* update test spec
* improve import
* fix import for mapped models
* fix python
* code clean up
* fix dart client import
* fix dart:core import
* better import
* add tests
---------
Co-authored-by: Bernie Schelberg <bernard.schelberg@mywave.ai>
2023-03-24 22:20:04 +08:00
William Cheng
bde5c10092
update optional parameters in jsdoc ( #15032 )
2023-03-24 18:25:20 +08:00
Dylan Kwon
b6d2e0d222
Added converterFactories property to ApiClient in jvm-retrofit2. ( #15008 )
...
* Added converterFactories property to ApiClient in jvm-retrofit2.
* [retrofit2] Supplement deprecate contents of converterFactory
* [retrofit2] Supplement deprecate contents of converterFactory
* [retrofit2] converterFactory removed.
* [retrofit2] sample update.
* [retrofit2] Type mismatch fix in Rx.
2023-03-22 15:06:04 +00:00
William Cheng
38d9dc1f36
update erlang samples
2023-03-22 00:26:36 +08:00
David Weinstein
fc91fca737
[erlang-client] fix URL paths ( #14988 )
...
* integers parameters in URL did not work as expected
* so now, if the parameter is an integer, we convert it to binary before
passing to `hackney_url:make_url/3`
2023-03-22 00:23:57 +08:00
William Cheng
88da3649b2
[csharp-netcore] Add option skip generating getter for sub-schemas ( #15007 )
...
* add option skip generating getter for sub-schemas
* fix openapi-yaml
* update samples
* update samples
2023-03-21 22:41:29 +08:00
devhl-labs
d24ae6b27a
fixed bug ( #15006 )
2023-03-21 15:44:10 +08:00
William Cheng
e780d59352
add auto-generated api spec file ( #14994 )
2023-03-20 16:58:13 +08:00
César Revert
6e649af9a7
[java-spring] Move JsonProperty annotation from field to getter ( #13781 ) ( fix #5705 )
...
* 5705: Move JsonProperty annotation to the getters
* Regenerate samples
* Add jackson check
* Add test
* Minor fix
* Fix test
* Fix version
* [Java][Spring] update test & samples; add serialization/deserialization test
---------
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-03-19 04:59:48 -07:00
William Cheng
e1719f2b7b
[JavaSpring] migrate config files to use 3.0 spec ( #14981 )
...
* update spring config file to use 3.0 spec
* migrate spring config file to use 3.0 spec
* update github workflow to cover more samples
2023-03-17 16:02:27 +08:00
devhl-labs
02b6248510
moved null checks ( #14980 )
2023-03-17 15:12:27 +08:00
William Cheng
3d4f7b3ce0
[java] fix optional array property's default value ( #14961 )
...
* fix optional array property default value
* fix default values
* more fixes
* update default value for jersey2, 3, okhttp-gson
* update default value
* fix java okhttp-gson
* fix jersey2, 3
2023-03-17 11:58:49 +08:00
William Cheng
d0f7bd18ba
[spring] fix default value for nullable containers ( #14959 )
...
* fix default value, update spec to 3.0
* add tests for container default value
* update java camel samples
* remove samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable
* remove ./bin/configs/spring-boot-beanvalidation-no-nullable-oas3.yaml
* remove samples/openapi3/server/petstore/springboot-useoptional
* remove samples/openapi3/server/petstore/springboot-reactive
* update github workflow
* fix default in add, put operation
2023-03-17 10:16:17 +08:00
Riccardo Cardin
e626b43e27
Added a property to the Spring generator to avoid the use of the ResponseEntity
type ( #11537 )
...
* Added the useResponseEntity additional parameter for Spring generator
* Changed the mustache templates using the new useResponseEntity property
* Added the new property to the documentation
* Merging with remote master
* #11537 Added missing configuration for the delegate pattern case
* #11537 Added autogenerated @ResponseStatus on Spring methods
* #11537 Fixed borsch comments
* #11537 Added the default 200 HTTP Status for empty response HTTP code
* [Java][Spring] useResponseEntity sample + remove blank line
* [Java][Spring] useResponseEntity sample + remove blank line
* [Java][Spring] useResponseEntity sample + remove blank line
---------
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-03-16 14:00:10 +02:00
devhl-labs
9787388f77
removed TryGet from deserialization methods ( #14974 )
2023-03-16 16:49:21 +08:00
devhl-labs
b6ccf078ef
fixed nrt bug ( #14973 )
2023-03-16 08:59:12 +08:00
Peter Lamby
5c4529259f
[BUG][typescript-fetch] wrong response for simple types ( #14659 )
...
See #9364
See #2870
2023-03-15 09:47:34 +01:00
devhl-labs
388147f822
suffixed variables with LocalVar to avoid conflicts ( #14958 )
2023-03-15 10:58:09 +08:00
martin-mfg
f1d05fc7f8
Allow Java apache-httpclient users to supply additional HTTP headers per call, updated ( #14929 )
...
* Allow Java apache-httpclient users to supply additional HTTP headers per API call
* fix 'unexpected return value' problem
* make "fullJavaUtil" work
* Revert 'make "fullJavaUtil" work'
This reverts commit 60c8846.
---------
Co-authored-by: Jigar Joshi <jigarjm@gmail.com>
2023-03-14 20:20:31 +02:00
igokoro
b172f622b9
Do not use default locale in kotlin generated code ( #14668 )
...
Using default locale for non-user visible text transformations is not safe
and can result in bugs, in particular with Turkish locale.
More details in
https://mattryall.net/blog/the-infamous-turkish-locale-bug
Closes #14667
2023-03-14 16:47:15 +00:00
Christian Mösl
85ff3de157
[java][webclient/resttemplate] fix dependencies for gradle with jakarta ( #14925 )
2023-03-14 17:57:08 +02:00
Oleh Kurpiak
bda2501455
[Java][Spring] option whether to generate required args constructor ( #14941 ) ( fix #14934 )
2023-03-14 10:39:58 +02:00
devhl-labs
dc1386c134
better deserialization ( #14945 )
2023-03-14 11:40:40 +08:00
Mathias Dierickx
e52a9fd961
Add missing ConfigureAwaits for csharp-netcore generator ( #13664 )
2023-03-14 00:29:03 +08:00
Jonas Reichert
f45523dd1a
[swift5] fix modelNamePrefix and -suffix for reserved types ( #14768 )
...
* only add suffix or prefix if type is not a primitive or from dependency
* add tests
* add sample
* add second API with prefix and suffix
* add primitives
* add missing pom
* add missing shell script
* fix cycle dependency
* generate samples
2023-03-13 09:42:24 +00:00
Robin Karlsson
564939a4a8
[java][jersey] Remove double brace initialization and some more jersey cleanup ( #14783 )
...
* Remove double brace initialization
* Use diamond operator
* Less clutter in generated api classes
* Optimize isJsonMime
* Revert change in escapeString
Skip toString() on string parameters.
* Fix edge-cases
A ServerVariable without enumValues and/or operationServers
with any ServerVariables would lead to invalid code.
2023-03-13 16:42:37 +08:00
William Cheng
9a53625fcc
update erlang proper samples
2023-03-13 16:07:14 +08:00
William Cheng
6d71db3d6d
update samples
2023-03-13 15:46:31 +08:00
devhl-labs
e9fed506b3
used the date format ( #14936 )
2023-03-13 15:25:29 +08:00
devhl-labs
8785acea7c
added samples for unsigned ( #14938 )
2023-03-13 15:24:45 +08:00
devhl-labs
3a940c93cc
[csharp-netcore][aspnetcore] Added examples ( #14927 )
...
* added examples
* added examples to aspnet
2023-03-12 15:07:54 +08:00
devhl-labs
2b7007b653
[csharp-netcore] Moved formats to separate file ( #14894 )
...
* add unsigned integer/long support to c# netcore client
* moved formats to separate file
* moved formats to cli options
* moved formats to cli options
* reverted unintended changes
* reverted unintended changes
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-03-12 15:05:35 +08:00
William Cheng
c4b404dc2e
Decommission csharp-dotnet2 client generator ( #14911 )
...
* decommission csharp-dotnet2 client generator
* update doc
2023-03-10 14:30:32 +08:00
Brahim Hadriche
f3960b2116
[v2] (RFC) Csharp netcore generator supports UnityWebRequest library ( #14870 )
...
* Base impl
* Improve Unity support
* update samples
* Sync bool property
* Update samples
* Set support file property
* Address comments
* Fix test asmdef
* Fixes for WebGL support
* Add note about Unity version
* Add Unity Sample
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-03-10 14:17:50 +08:00
William Cheng
77dd4990a4
update C# client dep, update samples ( #14908 )
2023-03-09 11:05:59 +08:00
Andre Vegas
d56a55a06b
Fixing missing openApiNullable config for java apache-httpclient generator ( #14828 )
...
* 14827 - fixing missing openApiNullable config for java apache-httpclient generator
* 14827 - run PR steps updating examples & docs
* 14827 - fixing test data
2023-03-09 00:05:47 +08:00
Jorge Rodríguez Martín
9705617f93
[Java][Resttemplate] Normalize the RestTemplate ApiClient ( #14845 )
...
* Normalize resttemplate
* Update samples
2023-03-08 23:57:05 +08:00
William Cheng
70faa6b15c
better support of allOf with 1 sub-schema ( #14882 )
2023-03-07 00:35:34 +08:00
Bruno Coelho
5dc0b70081
[swift5][client] remove deprecated APIs ( #14635 )
...
* [swift5][client] remove deprecated APIs
* [swift5][client] remove deprecated APIs
2023-03-05 11:35:51 +00:00
Bruno Coelho
4bb8372340
[swift5][client] improve headers order ( #14636 )
2023-03-05 11:33:05 +00:00