martin-mfg
5117616b53
CodegenOperation & CodegenProperty: turn fields into getters ( #21225 )
...
* turn fields into getters
* update samples
2025-05-07 15:04:04 +08:00
William Cheng
5e5a053bfa
update PR tempalte, issue template, link to validator ( #21232 )
2025-05-07 14:39:37 +08:00
Amin Ya
f5b8fd6f5e
[cpp-rest-sdk] fix finding of the crypto libraries ( #21219 )
...
* [cpp-rest-sdk] fix finding of the crypto libraries
This fixes finding of the crypto for cpprest sdk via find_library. It also bumps the minimum CMake version to 3.10 to avoid deprecation warnings
* docs: add myself as a technical committee member
2025-05-07 14:30:18 +08:00
Amin Ya
4b2abdf48d
fix: fix dev container failing to build ( #21218 )
...
The dev container fails to build because of the outdated docker-in-docker feature. This updates the docker-in-docker and fixes the build. I also updated the docker compose references in the docs.
2025-05-05 15:34:02 +08:00
William Cheng
2010c2a60a
Add workflow to test Elixir clients ( #21214 )
...
* add elixir workflow
* update
* fix
* add elixir workflow (#21215 )
* update tests to use built-in json module instead of jason
* update base_url
* temporarily disable type-casting for dates
* retry failing tests
* update spec to use localhost
* add petsore local server to workflow
---------
Co-authored-by: Enrique Fernández <enrique@bluelabs.eu>
2025-05-05 15:32:05 +08:00
devhl-labs
41012588dd
ignore date length validation ( #21217 )
2025-05-05 15:06:22 +08:00
martin-mfg
e22d079bb0
ensure correct value for hasParams ( #21209 )
...
* turn hasParams into getter
* restore hasRequiredParams
2025-05-05 00:49:01 +08:00
Enrique Fernández
d38898a4d0
fix: delete unused file ( #21213 )
2025-05-04 23:39:17 +08:00
Ross Sullivan
652d4ed95c
Remove duplicate oneOf schemas during pre-processing ( #21174 )
...
* fix: Remove duplicate oneOf schemas during pre-processing
* chore: Updated samples
* fix: Fixed regression with oneOf+discriminator
* fix: Fixed possible null pointer during schema preprocessing
* refactor: Moved oneOf deduplication to OpenAPINormalizer
2025-05-04 23:30:42 +08:00
Devon
104ceb9c16
Java: Optimize HashSet Initialization ( #21205 )
...
* Optimize HashSet Initialization
Noticed this while debugging - we can avoid wasting memory/cpu creating 16 buckets when we only need one or a few.
* generate samples
* use Arrays.asList
2025-05-04 22:56:33 +08:00
Enrique Fernández
0389a99cec
simplify connection module ( #21158 )
2025-05-04 22:51:35 +08:00
devhl-labs
f3af25b10c
fixed encoding ( #21207 )
2025-05-04 22:30:40 +08:00
devhl-labs
56fe7e3286
[csharp] Fixed duplicate property names ( #21206 )
...
* fixed duplicate property names
* discard samples
* discard samples
* added new sample
2025-05-04 22:29:12 +08:00
Enrique Fernández
ac77339fcd
[chore][elixir] update dependencies ( #21210 )
...
* chore: bump tesla version
* chore: bump ex_doc version
* chore: bump dialyxir version
2025-05-04 22:27:26 +08:00
Jaime Sánchez
3c664d1a59
[java] [spring] Fix multipart optional params error compilation using delegates ( #20793 )
...
* fix spring multipart optional parameters
* use optional only in not required params
* remove debug line
---------
Co-authored-by: Jaime Sanchez <jaime.sanchezf@externos.santalucia.es>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2025-04-30 14:28:38 +08:00
Andrew Wilson
76540e591f
Improve Kotlin Misk OpenApi Generator ( #21165 )
...
* 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
* first pass
* second pass
* third pass
* typo
* fixup
* fixup 2
* fixup 3
* fixup 4
* fixup 5
* fixup 6
* fixing api override
* fixing docs
* fixing docs json
* fix misk version
* add action prefix
* fixup
* fixup 2
* fixup 3
* fixup 4
* fixup 5
2025-04-30 01:53:32 +08:00
kenji yoshida
56eb8f7bc9
update akka-http and pekko-http server generator and example ( #21166 )
2025-04-30 01:46:49 +08:00
Akihito Nakano
3bac186b2f
Fix the layout issue in the donation message ( #21184 )
...
The emoji might not render correctly for Windows users.
2025-04-30 01:45:41 +08:00
William Cheng
d04c0ddbb4
minor fix to javadoc ( #21177 )
2025-04-29 15:58:16 +08:00
RickyMa
afa135f93d
[cpprestsdk] Support passing enum request parameters ( #20836 )
...
* [cpprestsdk] Support passing enum request parameters
* Add a fake endpoint to test enum request parameters
* Add auto-generated sample codes
* Update to date with master branch
---------
Co-authored-by: leslizhang <453688819@qq.com>
2025-04-29 15:54:07 +08:00
Simon Podlipsky
2327562af4
fix(php-nextgen): do not call static methods dynamically ( #21163 )
2025-04-29 15:29:52 +08:00
martin-mfg
daeffde719
fix vertxFuture setting ( #21176 )
2025-04-29 15:07:30 +08:00
martin-mfg
9a289e9713
adjust jersey2/jersey3 templates ( #21171 )
...
* respect useJakartaEE in jersey3
* useJakarteEE=true in jersey3 samples
* don't force jakarta package for jersey3
* adjust whitespace between jersey2 and jersey3
* enforce useJakartaEe for jersey3, warn on misuse for jersey 2
* set useJakartaEe for jersey3, generate samples
2025-04-29 15:01:43 +08:00
martin-mfg
3fadfe3889
fix documentation versions ( #21175 )
2025-04-29 15:01:16 +08:00
Oliver Fast
65c312653a
fix(typescript-fetch): Use null as a value when the date value is nullable ( #21133 )
...
* fix use null when available for dates
* generated typescript-fetch-default-v3.0 sample
* ran all typescript examples
2025-04-28 10:59:48 +02:00
William Cheng
29b6b771d7
add unified.to to bronze sponsor list ( #21160 )
2025-04-27 23:58:17 +08:00
William Cheng
9eefc09487
update readme
2025-04-27 22:07:23 +08:00
William Cheng
dbf720c093
Prepare 7.14.0 release ( #21159 )
...
* Revert "v7.13.0 release (#21157 )"
This reverts commit 4b805ff6b7ac5bd2557555810357569fe2677311.
* prepare v7.14.0 release
* update samples
2025-04-27 22:04:03 +08:00
William Cheng
4b805ff6b7
v7.13.0 release ( #21157 )
v7.13.0
2025-04-27 21:02:20 +08:00
Mattias Sehlstedt
10fc9d07c7
Single request parameter equals and hashcode ( #20833 )
...
* Align indentation
* Add equals and hashcode to singleRequestParameter static class
* Add missing sample updates that were affected by new imports
* add restclient sample
* update FILES, chmod=+x
* Update samples with jakarta annotations
* Updates samples
---------
Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
2025-04-27 16:46:01 +08:00
Renuka Fernando
858d5fd8b7
Set appropriate statusCode from examples ( #19501 )
...
Issue: OpenAPITools/openapi-generator#19446
2025-04-27 15:18:28 +08:00
Lucas Reeh
f656afcde3
Add original enumPropertyNamingType config for java enum generation ( #20824 )
2025-04-27 15:00:51 +08:00
roseatromero
de310f6ee1
Fix associative container on json values ( #20606 )
2025-04-27 00:17:52 +08:00
William Cheng
1850c07951
update samples
2025-04-27 00:16:39 +08:00
martin-mfg
9f3a73f81a
[spring]addition: api response examples + spring generator generates response examples ( #17610 , #16051 ) ( #20933 )
...
* addition: api response examples; spring's api.mustache generates response examples
* update samples
* added 2 sample configs; adsjuted to only generate examples for application/json
* added test
* remove accidentally added files
* small cleanup
* add new samples to workflow
---------
Co-authored-by: GlobeDaBoarder <glebivashyn@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2025-04-27 00:10:09 +08:00
Ross Sullivan
35ba0414fb
[rust] Fix for allOf multi model with only metadata fields ( #20892 )
...
* Fix for allof multi model with only metadata fields
* Update samples
* fixed compiler errors in java 17 and lower
* refactored isMetadataOnlySchema to ModelUtils.java
2025-04-26 23:44:56 +08:00
Mattias Sehlstedt
1eee6038df
Fixes so that a oneOf schema with a single sub-schema is simplified ( #21043 )
...
* Fixes so that a oneOf schema with a single sub-schema is simplified when SIMPLIFY_ONEOF_ANYOF is set to true
* Adjusts oneOf_array test to ensure that it is generated as an interface instead of being simplified
* Update ruby samples so that they no longer refer to a model that is now gone due to the schema being simplified
2025-04-26 22:53:21 +08:00
David Riddervold Marconis
02204d0e4b
fix: [csharp] JsonConverter anyof ( #21137 )
2025-04-26 22:21:02 +08:00
paul-kraftlauget
bbc0b4a79f
[kotlin-client][jvm-spring-restclient] Fix metrics URI templating for RestClient ( #21149 )
...
Spring configures uriTemplate attribute and not generated code
2025-04-26 22:20:16 +08:00
paul-kraftlauget
f9549479c9
[kotlin-client][jvm-spring-webclient] Fix metrics URI templating for WebClient ( #21148 )
...
Spring configures uriTemplate attribute and not generated code
2025-04-26 22:19:39 +08:00
Bruno Coelho
e3db6a6257
[swift][client] update migration docs ( #21151 )
2025-04-26 22:14:37 +08:00
Ross Sullivan
1c62f839c5
Fixed Rust model files not matching module imports causing compiler errors ( #21134 )
...
* fix(rust): Fixed Rust model files not matching module imports causing compiler errors
* chore(rust): Update samples with a duplicate model test
* update samples
---------
Co-authored-by: Ross Sullivan <rosssullivan101@gmail.com>
2025-04-26 22:03:28 +08:00
William Cheng
178f1c9641
update maven plugin dependency versions ( #21153 )
2025-04-26 22:00:03 +08:00
Bruno Coelho
f950ac97e8
[swift][client] make QueryStringEncodable return any Sendable ( #21142 )
...
* [swift][client] make QueryStringEncodable return any Sendable
* [swift][client] rename QueryStringEncodable to ParameterConvertible
* [swift][client] update migration docs
* Revert "[swift][client] update migration docs"
This reverts commit 00a490536df393c4075e3e739b2e33446f614988.
* [swift][client] rename QueryStringEncodable to ParameterConvertible
2025-04-25 14:40:58 +01:00
William Cheng
44c342bddd
fix travis test build failure
2025-04-25 18:11:02 +08:00
William Cheng
35b94dff7a
[csharp] fix "Simplify 'default' expression (IDE0034)" messages ( #21147 )
...
* [csharp] reduce IDE0034 messages in generated code
* [csharp] regenerate all samples
---------
Co-authored-by: Fabian Buchenberger <37747351+ffabss@users.noreply.github.com>
2025-04-25 18:01:14 +08:00
xtroce
6ee94d636b
issue-20718 fixed code generation for jersey2/3 and okhttp-gson when using modelMapping with a package and anyOf/oneOf ( #20721 )
...
Co-authored-by: Sebastian Droeppelmann <sebastian@d-liver.solutions>
2025-04-25 17:13:36 +08:00
Paul Horton
bdb063f170
fix: Support PathParams not of primitive types for Go in generated tests ( #21107 )
...
* fix: Support PathParams not of primitive types for Go in generated tests
Signed-off-by: Paul Horton <phorton@sonatype.com>
* use tabs consistently
---------
Signed-off-by: Paul Horton <phorton@sonatype.com>
2025-04-25 17:09:11 +08:00
ふぁ
5a9f973e91
[dart-dio] Fix the version of the sample dependencies ( #20797 )
...
* [dart-dio] Fix the version of the sample dependencies
* update
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2025-04-25 17:06:29 +08:00
saulgillEST
c14c7a0421
Enhancement: Allow MergedSpecBuilder title, version and description to be configured #20822 ( #20839 )
2025-04-25 16:44:41 +08:00