OpenAPI Generator 3.2.0 has been released with 2 new generators!
We're glad to release v3.2.0 (minor) with 50+ PRs from the awesome community. This release comes with 2 new generators:
- C++ Qt5 (QHttpEngine) server generator -
cpp-qt5-qhttpengine-server
#655 by @etherealjoy - PHP Laravel server generator -
php-laravel
#574 by @renepardon
For a list of breaking changes with fallbacks, please refer to the list (6 PRs) and the upgrade note in the PR for more information.
General
- Update swagger-parser #696
- Update Q&A based on feedback from users #695
- Use Released version in maven samples #693
- Better handling of operationId starting with numbers #691
- Migration Guide: add "Validate spec on generation by default" section #683
- [all] Fix NullPointerException with list of simple types #680
- Improve validation error message to show how to disable the validation #653
- [all] Fix inconsistent parameter names when ensuring uniqueness #640
- Support for discriminator.mapping #536
- Validate spec on generation by default #251
Apex
C++
- Update cpp-tizen class to extend AbstractCppCodegen #676
- [qt5 server] Improvement in response handling #675
- [qt5 server] Improve qt5 server naming #655
- [cpp] Sanitize identifier names #631
- [C++][Pistache] Default isAddExternalLibs to true #626
- [Qt5 Server] Add Support for Qt5 server using QHttpEngine #322
Documentation Generators
- [html2] Various enhancements #643
Elm
- [Elm] Template improvements #661
Go
- [Go] Prefix enum number with _ #703
Java
- Fix Javadoc string error in Java (rest-assured) client #702
- [JAVA][Rest-assured] Added constants #697
- [Java][Spring] Add stopWait to pom.xml #670
- [Java][RestTemplate] Fixed invalid URL-encoding of query parameters #646
- [Java] add useNullForUnknownEnumValue option #633
PHP
- [PHP] better operationId handling, add CI for PHP slim server #723
- [PHP] [Laravel] Fix syntax errors in models #721
- [PHP] Decommission "packagePath", add new option "packageName" #681
- [PHP] Escape media type #615
- [Slim] Add Basic authentication middleware #606
- [PHP][LARAVEL] initial PHP-laravel integration #574
Python
- Fix operationId starting with a number for Python client #682
- Support for python 3.7 by renaming
async
toasync_req
#519
Ruby
- [Ruby] Better handling of operationId starting with a number #719
- Add Dockerfile for ROR generator #718
- Prevent throwing another exception if the request fails eg connection reset #715
- [RubyOnRails] Add option to select DB adapter in ROR #711
- Underscore classVarName to fix route issue in ROR #706
Rust
- [Rust] Ignore additional properties #671
- [rust-server] add support for '|' in path segments #667
- [rust-server] add support for multiple samples #658
- [rust-server] Avoid HTML escaping of output #645
- [rust-server] Implement stack for Context #612
TypeScript
- [typescript] allow $ in var name #694