Kai-Uwe Hüber
28daa68943
Check if enum_values exists in the serverUrl [csharp] ( #21122 )
...
* check if enum_values are existing
If no enum_values are given for in a serverUrl, the check must be ignored.
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2025-04-23 16:26:41 +08:00
Ross Sullivan
caf22add95
[rust] Fixed nullable byte arrays ( #20720 )
...
* [rust] fixed nullable byte arrays
* Updated tests and samples
* updated type test
* Added double option support
* updated samples
2025-04-23 16:13:53 +08:00
jheyens
e767496357
Jersey2: Move setting of authentication parameters before generating target URL to consider API keys in URL parameters ( #20688 )
...
* Move setting of authentication parameters before generating target URL to consider API keys in URL parameters
* Regenerate Jersey2/3 examples
2025-04-23 16:04:26 +08:00
João Brilhante
d2e20253e4
[java][restclient] Fix model combining properties and additional properties ( #20947 )
2025-04-23 15:57:57 +08:00
30p87
ee7927a525
[Java][Spring] remove 'size', 'page' and 'sort' query params if using 'x-spring-paginated' ( #8315 ) ( #21016 )
...
* [Java][Spring] remove 'size', 'page' and 'sort' query params if using 'x-spring-paginated' (#8315 )
* Properly implement samples, fixing build issues
---------
Co-authored-by: Tobias Fischer <t.fischer@goldflam.de>
2025-04-23 15:47:17 +08:00
PidgeyBE
72de5bc952
[Python] Fix the post processing of string enums ( #20976 )
...
* fix/ x-enum-varnames in python
* make x-enum-varnames examples more clear
* make x enum varname usage more explicit
* fix tests
* trigger tests
* trigger tests once again...
* fix more tests
2025-04-23 15:45:44 +08:00
Simon Podlipsky
d4d14204e8
fix(php-nextgen): always return if not void ( #21119 )
2025-04-23 15:40:57 +08:00
jheyens
a66dd20783
Jersey2: Do not reinitialize ClientConfig with default values when building HTTP Client ( #20687 )
...
* Do not reinitialize ClientConfig with default values when building HTTP Client
* Regenerate Jersey2/3 examples
2025-04-23 15:24:22 +08:00
Juan Treminio
346231083f
[PHP] - Add FormDataProcessor to handle nested ModelInterface data ( #20990 )
...
* [PHP] - Add FormDataProcessor to handle nested ModelInterface data
* Generating samples
* Updates php-nextgen and psr-18
* Adds tests
* Some more tests
* One last test
* Updating files
* Fixing diff
* Test fix
* Updating samples
2025-04-23 15:16:47 +08:00
Kevin Lin
b844d8d4cd
[Java] ApiClient: support deserializing from InputStream instead of String to bypass 2GB Java String limit ( #21115 )
...
* ApiClient: support deserializing JSON from InputStream instead of String to bypass 2GB Java String limit
* Update test_file_list.yaml
2025-04-23 14:59:02 +08:00
Antoine Reilles
338f7f2a09
cxf file upload should only present Attachment ( #21124 )
...
The InputStream is not necessary, as it can be obtained from the
Attachment object via getInputStream().
2025-04-23 14:53:42 +08:00
Jenny G. L.
80ab53b2ce
[scala][client]: scala-http4s scala3 client: minor improvement (allow empty string in optional enum to pass as None) ( #21025 )
...
* [scala][http4s][client]: add enum method; remove implicit
* improve error handling
* more enum enhancement
* remove unused
* update samle
* avoid breaking change
* [Scala][Client][HTTP4s]: when enum is optional, avoid throwing exception when it's empty string
---------
Co-authored-by: Jenny Leahy <jennyleahy@JENNYLEAHY.localdomain>
Co-authored-by: Jenny Leahy <jennyleahy@Mac.localdomain>
2025-04-23 14:21:33 +08:00
Enrique Fernández
3233eff187
[fix][elixir] faulty free-form object type spec ( #21113 )
...
* fix: faulty free-form object type spec
* add implicit free-form object example
2025-04-23 14:17:10 +08:00
Bruno Coelho
64d9719d39
[swift6][client] All models conform to Codable so this method should not be needed anymore ( #21117 )
...
* [swift6][client] All models conform to Codable so this method should not be needed anymore
* [swift6][client] All models conform to Codable so this method should not be needed anymore
2025-04-22 11:58:53 +01:00
Enrique Fernández
2fb59ff258
doc: remove references to petstore ( #21111 )
2025-04-21 15:42:09 +08:00
RickyRister
4c08ff865d
[Java][Vertx] Add option to generate methods that return Futures ( #21083 )
...
* [Java][Vertx] Add option to generate methods that return Futures
* run scripts
* update sample config and github workflow
* generate samples
* rerun script
* add vertx-no-nullable to samples workflow
2025-04-18 21:53:08 +08:00
Moritz Weber
c67b1132ec
[typescript-angular] add license information for BaseService ( #21104 )
...
The new BaseService was added in #20681 , but the license information was not added.
2025-04-17 16:39:23 +02:00
Sri Sushma Karra
f9f5af5ed9
[JAVA][FEIGN] Removing hardcoded HTTP Client which is causing performance issues ( #21085 )
...
* [JAVA][FEIGN] Removing hardcoded HTTP Client
Fixing performance issues
* Updating samples for Java Feign performance betterment changes
* added APIClient.java for feign-hc5
2025-04-17 17:13:07 +08:00
Andrew Wilson
5e446b4147
[feat] [protobuf] Improve protobuf generator by adding custom options for api and model files ( #21075 )
...
* add custom options
* fixing docs
* typo
2025-04-17 13:11:34 +08:00
lucy66hw
b4378a6277
[Protobuf Schema] Map Field Handling in Composed Schemas ( #21002 )
...
* Address map under composed schema
Add explanation to code block
* add comment to explain the code block
2025-04-16 16:33:22 +08:00
Andrew Wilson
1136872cd5
[feat] [protobuf] Improve protobuf generator with switch useSimplifiedEnumNames ( #21052 )
...
* improving with simple enum names
* adding test case
* fixing docs
* fixing param name
* fix docs
2025-04-16 16:32:36 +08:00
devhl-labs
ffefebdd88
[csharp] Process webhook operations ( #21082 )
...
* process webhook operations
* process webhook operations
* build samples
2025-04-16 16:30:53 +08:00
NavruzshoevDaniel
7a57b80955
[BUG][Kotlin][WebClient] ApiClient is not compatible with spring-web 6 Observation API ( #21020 )
2025-04-16 15:25:22 +08:00
Gregory Merlet
a94b8f90ca
Fix typescript-fetch broken files when mixing basic types and refs in oneOf ( #21057 )
...
* feat: add test-array endpoint and TestArrayResponse schema to oneOf.yaml
* feat: enhance oneOf handling in TypeScript code generators with string and array support
* fix: correct type checks for string and object arrays in modelOneOf.mustache
* refactor: remove oneOfStringEnums handling and simplify oneOf logic in TypeScript code generators
* chore: update samples
* refactor: remove unnecessary string oneOf checks in TypeScriptFetchClientCodegen
2025-04-14 14:14:25 +02:00
Richard Jacks
79b1cc5d5e
Update jQuery.min.js from 1.8.3 to 3.7.1 ( #20977 )
2025-04-13 23:06:00 +08:00
Beppe Catanese
c22d790249
[POSTMAN] Include response examples ( #21073 )
...
* Extract response examples
* Add response examples to spec
* Generate Postman samples
* Test samples
2025-04-13 22:22:27 +08:00
devhl-labs
ca1f02500f
fixed subpath bug ( #21081 )
2025-04-13 18:50:26 +08:00
takashno
dcb8b1a2dc
modify enum template. field should be final. add testcase & sample updates. ( #21019 )
2025-04-13 18:49:15 +08:00
Tanmay Mohapatra
b1de687c7f
[julia] better serverside validation code ( #21072 )
...
* [julia] better serverside validation code
Updating the code generated for julia server to add more checks in the validation stage of incoming requests. Particularly adds checks for request body and required parameters. Updates the generated models with some helper methods that are used in validation filter.
* bump OpenAPI.jl version to use for CI
2025-04-11 02:00:29 +08:00
William Cheng
6da343a8ad
update samples
2025-04-09 17:53:11 +08:00
Knuf
9c5722b9f6
Added HttpClient5 flavour to Java OpenFeign client generator. ( #21007 )
...
* Added HttpClient5 flavour to Java OpenFeign client generator.
* Converted templates intendation to spaces.
* Added the new sample folder to GH wf so that the CI can test the change.
* Added the missing auto-generated docs/samples files.
* Converted indentation to spaces also in the modified Java class.
2025-04-09 17:40:16 +08:00
William Cheng
86a8e52d08
Add tests for scala sttp client (jsonLibrary: circe) ( #21061 )
...
* add tests for scala sttp circe
* use jdk 11
* test with jdk 17
* fix
* test in circleci
* remove finch
2025-04-09 17:19:06 +08:00
Jorge Rodríguez Martín
89f0f7556f
[Java][Spring] Ensure EnumConverterConfiguration.java is generated when interfaceOnly=true in Spring Generator ( #21000 )
...
* Ensure EnumConverterConfiguration.java is generated when interfaceOnly=true in Spring Generator
* Add samples
2025-04-09 17:10:39 +08:00
Nicolas Rodriguez
6bf528950f
[crystal-lang] Various fixes for Crystal client ( #21045 )
...
* fix(crystal): allow users to YAML.dump(model) to ease debug
* fix(crystal): make optional parameters truly optional
* fix(crystal): don't send query parameters when parameter is nil
* fix(crystal): implement cookie Auth
* fix(crystal): fix ameba warnings
* fix(crystal): update sample app specs
2025-04-09 15:04:00 +08:00
Enrique Fernández
dcd9463e88
[feat][elixir] use elixir 1.18 built-in json module ( #21039 )
...
* feat: replace jason by built-in json encoder/decoder
* chore: update samples
2025-04-08 12:47:37 +02:00
david-aeqium
63afd455f7
Fixes mapValues runtime inefficiency in typescript-fetch ( #21047 )
...
* fixes mapValues runtime inefficiency in typescript-fetch
* adds regenerated typescript-fetch samples
2025-04-07 10:02:59 +02:00
Tobias
047ceeaa45
Add unity 2019 support and update samples ( #21036 )
2025-04-07 01:02:14 +08:00
Juan Treminio
6b13ad522f
[PHP] - Add range HTTP code support ( #20992 )
...
* [PHP] - Add range HTTP code support
* Adding response body to 200
* Fix diff; update php-nextgen sample
* Working on unit tests
* Removes dangling files
* Finalize tests
* Remove dangling files
* Add tests for no response body exception
2025-04-07 00:50:58 +08:00
Gijs Blanken
5f41acfe79
add #report when handling exceptions in the api ( #21023 )
2025-04-07 00:46:33 +08:00
Aran Donohue
b2abf36af6
feat: [Rust][client] Add option to use rustls for reqwest instead of openssl ( #21001 )
...
* feat: [Rust][client] Add option to use rustls for reqwest instead of openssl
* generated changes
Summary:
./bin/generate-samples.sh ./bin/configs/*.yaml || exit
./bin/utils/export_docs_generators.sh || exit
2025-04-07 00:42:23 +08:00
Andrew Wilson
9bac31859c
Improving Misk Kotlin Server Generator ( #20973 )
...
* first pass
* fixing types
* fixing action
* updating samples
* updating files
* adding guido
* fixing misk
* removing old files
* cleaning generated files
* cleaning generated files
* adding back in license
2025-04-04 15:37:49 +08:00
William Cheng
04169ec29b
update crystal samples
2025-04-03 01:39:13 +08:00
Nicolas Rodriguez
c4a6c4a542
[crystal-lang] Various fixes for Crystal client ( #21011 )
...
* fix(crystal): fix typos in Crystal templates
* fix(crystal): various fixes for partial_oneof_module.mustache Crystal template
1. `class << self` doesn't exist in Crystal, you must prefix class methods with `self.`
2. use double quotes for String litterals (simple quotes are for Char litterals)
3. global `private` keyword doesn't exist in Crystal, you must prefix private methods with `private`
4. you must specify types when using `each_with_object({})`
* fix(crystal): add isKeyInCookie in Crystal configuration.mustache
* fix(crystal): wrap `rescue` in a `begin`
* fix(crystal): use Spectator shard to run tests (`described_class` is not available in Crystal std lib)
* fix(crystal): dry tests
* fix(crystal): enable some API tests, mark others as pending
* fix(crystal): update samples
* fix(crystal): update sample app specs
* fix(crystal): install development dependencies
2025-04-02 20:19:25 +08:00
Bodo Graumann
8e329feb6a
[typescript] Use static middleware when calltime options exist but specify no middleware ( #20985 )
...
* Keep static middleware when options contain no middleware field
* Regenerate samples
* Fix indentation and quotes
* Extract middleware merge logic into function
* Regenerate samples
* Simplify extracted functions
* Regenerate samples
* Fix: Pass static config when no options are given for inversify
* Fix: Allow overriding http api with options
* Regenerate samples
* Use default parameter for default middlware merge strategy
* Throw exception for failed match within switch block
2025-04-01 20:11:07 +02:00
Bodo Graumann
7881152dc8
[typescript] Avoid code duplication ( #20978 )
...
* Update test dependencies to make them run
* Use spaces instead of tabs
* Remove duplicate test
* Remove unused variable
* Add failing test for missing options
* Move config merge logic into shared function
* Regenerate samples
* Move option wrap logic into shared function
* Regenerate samples
* Inline wrapOptions call
* Regenerate samples
* Clean up code formatting
* Regenerate samples
* Separate mergeConfiguration definitions
* Regenerate samples
* Rename parameters
* Regenerate samples
* Add missing semicolon
* Revert inlining wrapOptions call
* Revert format changes in untouched lines
2025-04-01 13:13:54 +02:00
Ivan Vaskevych
a8d56fd8ce
Fixes the non-working query parameter when it's an Enum ( #20210 )
...
* Fixes the non-working query parameter when it's a Enum
* Update modules/openapi-generator/src/main/resources/typescript/api/api.mustache
Co-authored-by: Alexey Makhrov <amakhrov@gmail.com>
* Fixes the tags order
* Adds Echo API client tests for typescript: step 1
* Adds Echo API client tests for typescript: step 2
* Updates samples
* Fixes updated samples
* Fixes the fix
* Fixes the example config
---------
Co-authored-by: Alexey Makhrov <amakhrov@gmail.com>
2025-04-01 10:13:27 +02:00
William Cheng
587fcff85c
update java samples
2025-04-01 15:05:12 +08:00
Tomschi
4f3726ecfd
#11737 Add package to bean name in converter.mustache for EnumConverterConfiguration.java ( #17738 )
...
* Add package to bean name in converter.mustache for EnumConverterConfiguration.java.
* Fix samples for EnumConverterConfiguration.java.
2025-04-01 14:48:14 +08:00
Trent Clever-Nadeau
56dd63525c
[Rust-Axum] Allow use of array query params ( #20861 )
...
* [Rust-Axum] Allow use of array query params
* Add sample per PR request
2025-04-01 14:29:21 +08:00
lucy66hw
3b0bb0a73d
[Protobuf Schema] Add Support for Multiple Response ( #20989 )
...
* Protobuf Schema Support Multiple Response
* change the supportMultiple response to true
* address build failure
* address build failure
2025-03-31 15:31:07 +08:00