Christopher Kobusch
45a3fe05f5
Add Xojo client generator ( #15194 )
...
* Add Xojo client
* Add Xojo client generator
* Add Xojo client generator
* hide generation timestamp for xojo samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com >
2023-05-03 14:06:40 +08:00
William Cheng
92bcdea2fa
Revert "Remove CXF imports and dependency ( #15364 )" ( #15392 )
...
This reverts commit 6686fb87b9 .
2023-05-03 11:00:12 +08:00
William Cheng
021d3a311a
[python-nextgen] Add ApiResponse object ( #15367 )
...
* add ApiResponse object
* fix tests
* improve api response
* add back _preload_content, add tests
2023-05-03 09:45:54 +08:00
William Cheng
bec32ae67f
update samples
2023-05-03 09:43:43 +08:00
Michel Wohlert
502a8a8ebf
Fix request parameter encode call ( #15313 )
...
Co-authored-by: Wohlert, Michel <michel.wohlert@karlstorz.com >
2023-05-03 01:10:32 +08:00
Steffen Nießing
6686fb87b9
Remove CXF imports and dependency ( #15364 )
2023-05-03 01:09:16 +08:00
André Andersson
42fa07dd33
[Elm] Add support for petstore spec ( #15257 )
...
* Add petstore config
* Expand lambda to allow formatting of partials
* Fix order of operation with parenthesis
* Fix not exposing needed enum to string converters
* Add support for form params including files
* Add generated petstore client
* Regenerate existing elm client
* Add script that all files compile successfully
* Remove old unmaintained petstore client
* Add pipeline to try and compile elm clients
2023-05-02 16:50:57 +08:00
William Cheng
961980f284
[python-nextgen] add support for StrictBytes ( #15365 )
...
* add strictbyte support in python-nextgen client
* update samples
* use union of strictbytes, strictstr for backward compatibility
2023-05-01 10:51:22 +08:00
Tiffany Marrel
5f8c4ec640
[swift5] cleanup documentation ( #15351 )
...
* [swift5] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [swift5] fix anchor links in documentation
---------
Co-authored-by: Tiffany Marrel <tiffany.marrel@flowable.com >
2023-04-30 09:11:45 +01:00
William Cheng
1f4d323020
fix enum support in oneof/anyof in python-nextgen ( #15340 )
2023-04-29 13:50:47 +08:00
William Cheng
2bd1a15217
[python-nextgen] fix empty dict in body parameter ( #15336 )
...
* add more tests for python-nextgen
* update samples
* add fix for empty dict body
* update samples
2023-04-28 14:06:27 +08:00
Tiffany Marrel
da96058f5b
[kotlin] cleanup documentation ( #15307 )
...
* [kotlin] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [kotlin] fix anchor links in documentation
---------
Co-authored-by: Tiffany Marrel <tiffany.marrel@flowable.com >
2023-04-27 11:33:15 +01:00
William Cheng
b8ccd25a79
[python-nextgen] Various fixes reported by pylint ( #15309 )
...
* various pylint fixes
* rearrange test
* Revert "rearrange test"
This reverts commit 24d777a8a8 .
2023-04-26 17:12:10 +08:00
Beppe Catanese
6f24ad3625
[JAVA] OkHttp-GSON deprecated field only deprecates getter method ( #15287 )
...
* Deprecate build and setter methods
* Test with deprecated property
* Update samples
* Remove extra line
* Regenerate samples
2023-04-26 11:40:30 +08:00
Jaemin Park
de27749047
[cpp-ue4] Fix byte array writing in JSON to be valid base64 string ( #15242 )
...
* Fix byte array writing in JSON to be valid base64 string
- remove ToStringFormatArg
- use ToUrlString to path parameters
- use Base64UrlEncode only in ToUrlString
* Use LexToString instead of FString::Format
2023-04-25 00:21:27 +08:00
William Cheng
52417f0597
use Field(...) for required properties in python-nextgen ( #15290 )
2023-04-24 16:07:09 +08:00
Dávid Gracza
98c2794b5d
[Kotlin-Spring] add Kotlin based Spring-cloud openfeign generator ( #15048 )
2023-04-24 16:02:00 +08:00
William Cheng
b5745e6f26
[python-nextgen] Fix enum query parameter ( #15278 )
...
* fix enum query parameter in python-nextgen
* update samples
2023-04-22 16:08:59 +08:00
Ivo Wever
2679819694
[Ruby] Client: fix base_url when no server_operation_index is defined ( #15162 )
...
As discussed in https://github.com/OpenAPITools/openapi-generator/pull/7415#discussion_r1113274416 , it seems unlikely the code was correct.
server_operation_index is a hash table. In Ruby, `hash[key]` will return the value associated with `key`. If key is absent, `nil` is returned. Because that is sometimes undesirable, there is also `hash.fetch(key)`, which raises an error if the key is absent. It also allows you to specify a default to fall back on: `hash.fetch(key, default)` will return `default` if the key is absent.
So, since not all users will specify a 'server per operation' (or at least: I'm not), the old code would usually set `index` to the `server_index`, which is initialized to 0. The subsequent `if index == nil` will usually return false (`0 != nil` in Ruby), after which the `server_url` call on line 177 constructs the url based on the `server_operation_variables` and `operation_server_settings`, assuming we are dealing with the case where a server per operation is configured. The case where the url should be constructed from `scheme`, `host`, etc. is only called if either `server_index` is explicitly set to `nil` or the key `operation` is explicitly associated with the value `nil` in the `server_operation_index` hash table, both of which seem inappropriate.
2023-04-21 11:11:42 +08:00
William Cheng
0176957e26
[python-nextgen] better sample code ( #15248 )
...
* better python-nextgen sample code
* remove future import
* fix signing doc
* better test
* use hasHttpBearerMethods instead
2023-04-19 15:55:06 +08:00
William Cheng
70a6106626
add null check in string with regular expression ( #15233 )
2023-04-16 23:46:17 +08:00
Tom Sanidas
6a67551ea5
Issue 3175 - using @objcMembers to expose all props and funcs to ObjC code when objcCompatible is requested. ( #15188 )
2023-04-14 09:31:59 +01:00
John Dimeo
90b78fe97e
Jersey2/3 - Probe content type for multipart upload parts ( #14965 )
...
* Probe content type for multipart form uploads since many servers require each part to correctly identify its type.
* Update samples
* Add explanatory comment
* Update samples with comment
2023-04-14 12:15:13 +08:00
Robin Karlsson
b247ad75e1
[java] Add public static version field ( #15108 )
2023-04-14 01:06:54 +08:00
William Cheng
ff48f80379
udpate vertx to newer version 3.5.2 ( #15197 )
2023-04-12 11:32:11 +08:00
Robert Schweizer
448cbfd018
[python-nextgen] Limit allowed pydantic version range ( #15189 )
...
Align the lower limits between pyproject.toml and setup.py.
Set a common upper limit of <2, because version 2 brings breaking
changes.
2023-04-12 11:08:28 +08:00
Beppe Catanese
2b796d5c61
[Go] Format error message only when Kind is Struct ( #15154 )
...
* Check if Kind is Struct
* Commit regenerated files
* Tabs indentation instead of 4-space
* Commit regenerated files
2023-04-11 14:39:08 +08:00
devhl-labs
1e2f16ed69
[csharp-netcore] Explicitly implement IValidatableObject ( #15160 )
...
* explicit interface implementation
* minor spacing change
2023-04-10 11:20:48 +08:00
Takeshi Masaki
5e3bb7e33e
[Ruby] fix RSpec documentation URL ( #15164 )
2023-04-10 10:44:28 +08:00
Tushar
a4f5a74d5b
fix(python-nextgen): dependency incompatiblity ( #15167 )
...
Downgrade tox and flake8. Alternateively, we can increase minimum python version to 3.8.1
2023-04-10 10:31:53 +08:00
Tushar
4a83c9181f
fix(python-nextgen): Use spec format for authors in pyproject ( #15170 )
2023-04-10 10:31:37 +08:00
Martin Delille
f40433d28f
qt ctest ( #14968 )
...
* [cpp-qt-client] Fix warning about deprecated count() method
* [cpp-qt-client] Ignore build directory
* [cpp-qt-client] Use ctest
* Fix CMakeLists.txt for cpp-qt-client
2023-04-07 16:24:11 +08:00
William Cheng
bd7bc9aa79
[python-nextgen] Add bytearray, none_type as primitive type ( #15130 )
...
* add bytearray, none type as primitive type
* update samples
* update doc
2023-04-07 09:34:04 +08:00
William Cheng
ba2c42e34b
add override to java native pojo ( #15125 )
2023-04-06 15:00:14 +08:00
William Cheng
07227d4650
add support for union of strictfloat and strictint ( #15124 )
2023-04-06 11:51:12 +08:00
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
0dc84520e7
[python-nextgen] use __fields_set__ to determine if the field is needed in to_dict ( #15086 )
...
* use __fields_set__ to determine if the field is needed
* fix tests
2023-04-01 10:23:38 +08:00
William Cheng
1710615fd8
fix python nextgen github workflow ( #15092 )
2023-03-31 22:40:23 +08:00
William Cheng
b59d535176
[python-nextgen] Fix binary response ( #15076 )
...
* fix binary response in python nextgen client
* update samples
2023-03-31 16:16:58 +08:00
William Cheng
3ccd9be080
remove absolute_import ( #15071 )
2023-03-30 10:07:15 +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
1cdcaeb1b9
update python-nextgen samples
2023-03-26 23:45:20 +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
e925336daf
remove allowStringInDateTimeParameters option ( #15046 )
2023-03-26 10:46:15 +08:00
William Cheng
25adbe33a6
update cpp ue4 samples
2023-03-25 15:23:25 +08:00