v7.14.0 stable release (breaking changes with fallbacks) comes with 110+ enhancements, bug fixes. Once again thanks for all the contributions from the community.
This release comes with 1 breaking change (with fallback):
- [GO] Go Server: Adds ordered routes to go-server router #21280
Below are the highlights of the changes. For a full list of changes, please refer to the "Pull Request" tab.
General
- [gradle-plugin] Fix openapiGeneratorIgnoreList option #21363
- Better handling of metadata in allOf #21342
- Update swagger parser to 2.1.28 #21325
- Fix broken build on Windows OS if the schema contains references to other schema files #21300
- CodegenOperation & CodegenProperty: turn fields into getters #21225
- fix: fix dev container failing to build #21218
- Remove duplicate oneOf schemas during pre-processing #21174
C#
- [csharp][generichost] Removed duplicate service registration #21395
- [csharp][generichost] Updated docs #21357
- [csharp][generichost] Fixed token availablity #21326
- [csharp] Add missing ConfigureAwait(false) for csharp generator #21244
- [csharp] Ignore date length validation #21217
C++
- [cpp-restsdk] store Object as a shared pointer #21349
- [cpp-restsdk] link cpprest without crypto libraries #21348
- [cpp-rest-sdk] support serializing model base as parameters #21235
- [cpp-rest-sdk] fix enum values being used instead of names #21223
- fix(cpp-qt-client): add asJsonObject method to OAIEnum class (#19307) #21211
Elixir
Go
- [GO] Go Server: Adds ordered routes to go-server router (Breaking change (with fallback)) #21280
Java
- [Java] Fix content for enum in MultiPart #21428
- [Java][RestTemplate] Gradle Build include non-compatible Spring Dependency with jakarta disabled #21426
- [Java][vertx] fix path param encoding #21403
- [jaxrs-spec][quarkus] fix cookie in param #21400
- feat (JAVA NATIVE): add support for useSingleRequestParameter to java native client #21331
- [JAVA] Correct generation of schema default values of type object #21278
- Add option to set container's default to empty container #21269
- Java: Optimize HashSet Initialization #21205
- [JavaSpring][21200] improve Kotlin interopability with optional values #21202
- adjust (sync) jersey2/jersey3 templates #21171
Kotlin
- [kotlin] Fix compile error in enum properties with "" values(#18660) #21416
- Fix MiskKotlin OpenApiGenerator types #21390
- avoid intersection type in kotlin-client template with jvm-okhttp4 engine #21378
- [kotlin-client][multiplatform] update Kotlin and libraries versions #21353
- [Kotlin] Primitive array items validity check #21315
- Kotlin Misk Add Extra Parameters #21271
- [kotlin-spring] fix validation regression in kotlin-spring generator #21255
- [kotlin-client] Add support for integer enums in serialization step #21248
- Improve Kotlin Misk OpenApi Generator #21165
Nim
- [Nim] Fix compilation in case of schema with enum constraint with an enum value being not a valid nim identifier #20780
Python
- [python] Validate pyproject.toml and fix the pyproject.toml version constraint format #21402
- Replace periods with 'DOT' in Python enum member names #21372
- fix(python-fastapi): remove 200 fallback code and use default (#12481) #21333
- [python] Fix poetry deprecation warnings #21268
- [Python] Add all variable in the package init.py file for Python APIs #21185
- [Python] Correct sanitize_for_serialization in python generator for list in oneOf schema elements #19405
PHP
- Abstract PHP support of "original" for variableNamingConvention #21336
- [PHP-Symfony] revamp the computation of the contentType #21292
- [php-laravel generator] update $request->bool to $request->boolean #21273
- [php-symfony] fix handling of endpoints with "text/plain" or "image/png" response type #21261
- [php-flight] fix: remove trailing spaces #21254
- [php-flight] fix: use static PHPUnit assertions #21253
- fix(php-nextgen): do not call static methods dynamically #21163
Rust
- [rust-axum] Prevent multiple declarations of the same operation #21396
- Add model name mapping option to rust generators #21282
- [rust] support model/maps as deep/explode params #21262
Ruby
- fix(ruby-client): fix incorrect Date parsing in OneOf #21364
Scala
- [Scala] Add enums to scala-http4s-server #21320
TypeScript
- fix(typescript-fetch): use type modifier on imports for discriminator.mappedModels #21397
- Introduce option 'importFileExtension' to typescript-axios (#21343) #21344
- [typescript] add abort signal to requestcontext #21323
- feat(typescript-angular): add util "provideApi" and update docs to standalone applications #21173
- fix(typescript-fetch): Use null as a value when the date value is nullable #21133