* Fix ConfigurableAuthorization package name import to come from configuration
* Fix Micronaut @Consumes and @Produces annotations, allow multiple content types
* Fix security schemes rendering and Micronaut @Authentication pairing with application settings when special characters are present
* Updated samples
* Code review feedback
* Add xml to dependencies and fix tests
Co-authored-by: Andriy Dmytruk <andriy.dmytruk@oracle.com>
* Add the applicationName parameter to support generation of multiple clients
* Change indentation in application.yml to double-space
* Update swagger annotations version, and option to choose not to generate the annotations
* Generate operations only in the first defined tag class for micronaut server
* Improve micronaut client options by setting the correct default values in the JavaMicronautAbstractCodegen constructor
* Fix visitor pattern having abstract method in non-abstract class. Update samples
* Update server sample FILES
* Minor refactor
* Fix for context path
The default controller implementation returns an empty response. This
might result in unexpected behavior when an operation isn't implemented,
as a consumer of the API there is no way to notice the difference
between an unimplemented method and an actual empty response.
By changing the default behavior to return HTTP 501 Not Implemented the
user will be made aware of unimplemented methods. The former default
behavior, returning an empty response by default, can be activated with
a configuration option.
* added springdoc config file to codegen
* added mustache template for springdoc config
* changed type to all caps so it can be used in the template
* added security scheme details
caveat: didn't add oauth2 flows
* removed url not supported by codegensecurity
* Fixed default doc provider in help message
* refactored config file generation test
and added springdoc test
* removed default codegen modification
implemented through booleans in template instead
* added new/updated generator files
* fixed escaping of description
* fixed appDescription in template
removed if and fixed escaping
* updated generated files again
* updated to springdoc in generator docs
* Fixxed issue with numeric primitive in body
* Aded primitives to cpp-qt/petstore.yaml (test ressource)
* generated samples via ./bin/generate-samples.sh
* update surefire to newer version
* small tweak to add support for "leeway" when verifying oauth tokens.
Co-authored-by: William Cheng <wing328hk@gmail.com>
Co-authored-by: Bruno Flamand <bflamand@stingray.com>
* scala-akka-http-server model default value when field is not required
* scala-akka-http-server sample generate
* delete bin/configs/other/scala-akka-http-server.yaml
* Upgrade PHPCS-Fixer to 3.5 version
This version requires PHP 7.4 or 8.0 which perfectly meets our supported
PHP right now.
* Rename config file to .php-cs-fixer.dist.php
This way it can be overwritten with local file(same name without "dist"
part). Also it's recommended filename from the package doc.
* Add PSR12 rule set to config
I've changed config file a bit to look like example from the doc.
Ref: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
* Ignore new cache format
* Remove blank line after class opening
* Set constants in models public
* Refresh samples
* [cpp-qt-client] Fix CMakeLists.txt
Changed: Always add Qt5::Gui to build
Added: find_package for OpenSSL (if not Apple)
* Revert "[cpp-qt-client] Fix CMakeLists.txt"
This reverts commit db5c3423b92410115f4c3d5f8b6ca0cabb58f9f6.
* Revert "Revert "[cpp-qt-client] Fix CMakeLists.txt""
This reverts commit c4f055f3cdf666b3ce265fa14e297c3b11d803d9.
* [Cpp][Qt][client] Fixed unique items in OpenAPI schema
Added equal operator for schema objects
Added qhash Operator
in api template
depending on unique items
output.insert(val) -- QSet (unique items)
or
ouput.appen(val) -- QList (not unique items)
* Added petstore with unique items to tests schemas, added config for [cpp][qt] and this schema
* Run ./bin/generate-samples.sh bin/configs/cpp-qt-client* for new schemas and tests
* Update bin/configs/cpp-qt-client-petstore-unique.yaml
Co-authored-by: Martin Delille <martin@delille.org>
* Update bin/configs/cpp-qt-client-petstore-unique.yaml
Co-authored-by: Martin Delille <martin@delille.org>
* Fixxed typo in name of spec file, too.
* Moved petstore_plus_unique.json to correct directory (2_0 -> 3_0 )
moved open api specification
rerun generate samples
* Deleted obsolete samples output
* Removed obsolete files (unique items petstore yaml definition and samples)
* Updated samples output for cpp-qt
Co-authored-by: Martin Delille <martin@delille.org>
* Bugfix Kotlin-client: Can now handle path param of type list for jvm-volley and multiplatform. Also cleaning up generated code
* Adding samples to github workflow. Deleting old workflow
* Tweaking setup of jvm-volley
* Updating samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
* Generates delete_coffee endpoint
* Adds test of delete_coffee
* Removes .run files
* Fixes bug and adds test
* Reverts version file
* Reverts function sig
* Removes comma
* [C++][Pistache] fix Wconversion warning
* [C++][Pistache] fix struct model compilation with std::optional
* [C++][Pistache] Add validation to struct model
* Allow the baseUrl of elixir APIs to be overridden
* Run generator
* Add missing `:`
* Update modules/openapi-generator/src/main/resources/elixir/connection.ex.mustache
Co-authored-by: Michael Ramstein <633688+mrmstn@users.noreply.github.com>
* Generate sample with new change
Co-authored-by: Joe Eifert <joe@databerg.rocks>
Co-authored-by: Michael Ramstein <633688+mrmstn@users.noreply.github.com>
A specialization for the shared_ptr<datetime> data type was added to
ModelBase member functions fromString, fromJson, toJson and
toHttpContent.
This should fix compilation errors on generated source code.
See https://github.com/coinapi/coinapi-sdk/pull/130
* PoC json_serializable in dart-dio-next
* Move build.yaml template into json_serializable dir
* Undo implicit-dynamic change
* Fix automatic formatting
* Treat non-required fields as nullable
* Make class properties final
* Fix error introduced by merging in master
* Fix map creation when deserializing
* Exclude built files from analysis
* Add new dio import props
* Fix broken merge
* Fix configuration of nullable properties
* Only add api_util import if using built value
* Add config param to set properties as final
* Fix syntax error due to merge
* Update to simplified dio configuration
* Add missing api constructor template
* Fix import for multipart files
* Fix inclusion of library deserialize template
* Update docs
* Remove trailing newline from class
* Fix whitespace in generated templates
* FIx built value generation problem caused by merge conflicts
* Escape dollar signs in strings
* Handle enums
* Config for json_serializable sample
* Generate sample for json_serializable
* Revert "Escape dollar signs in strings"
This reverts commit 6e2a3aeea0450518433f2a07fe7cda92272b18a5.
* Use raw strings when dealing with enum values
* Add json_serializable Maven module ind fix number based enums
* regenerate all tests
* Update docs and fix wrong maven module
* add a beta hint to json_serializable option
* Update minimum dart sdk with json serializable
* Use dart 2.14 when testing Dart samples
* Update codegen to remove analysis errors in output
Co-authored-by: Peter Leibiger <kuhnroyal@gmail.com>