* Use AttributeError instead of ApiKeyError because that's what the hasattr builtin function uses
* Use AttributeError instead of ApiKeyError because that's what the hasattr builtin function uses
* fix unit tests
* create ApiAttributeError exception
* fix formatting
* run samples scripts
* Fix locale issue for numeric string conversions
Using a generated C# client from an application with a locale that formats numbers with a comma as a decimal separator will make the client send invalid numeric parameters to the API. Any numeric parameter with decimals will added to the URL with a comma ('0,15' instead of '0.15'), potentially breaking the API integration.
In my specific use case, the API interpreted '0,15' as '15', resulting in pretty funky errors.
This commit ensures that parameters are parsed with the invariation culture, fixing the mentioned error.
* Add missing reference to System.Globalization
* Update ClientUtils.mustache
* Make the array items optional
* Handle any type schema
* Handle any type schema
* remove prefix and fullSuffix
* Remove prefix and suffix
* fix Java code comment
* Add code comments, use recursion for any type
* Address review comments
* Bump PHP version to 7.1 in readme
* Bump PHP version to 7.1 in class templates
* Remove HHVM from Travis CI config
PHPUnit dropped support of hhvm, so build unlikely will pass tests.
https://github.com/sebastianbergmann/phpunit/issues/3320#issuecomment-426325646
* Remove sudo: false from Travis-CI config
Official doc recommendation:
https://docs.travis-ci.com/user/reference/trusty/#container-based-infrastructure
* Change tested versions to 7.1, 7.2 in Travis-CI
* Remove PHP_CodeSniffer from dev dependencies
There is another linter(PHP CS Fixer) which is fully configured while
CodeSniffer isn't configured at all.
* Use caret instead of tilde in dependencies
^2.12 equals (>= 2.12.0 && <3.0.0) while ~2.12 is (>=2.12.0 && <2.13.0)
* Refresh samples
* [C++][Qt5] Add the ability to pass QNetworkAccessManager as a parameter
* connect to QNetworkReply::finished instead of QNetworkAccessManager::finished
* [C++][Qt5] regen samples for cpp-qt5-client
* [C++][Qt5] disconect from reply by timeout
* [C++][Qt5] regen samples for cpp-qt5-client
Co-authored-by: alfredotg <alfredotg@tu.ru>
* Fix#6157: Updated native template to fix null async return
Should fix issue: https://github.com/OpenAPITools/openapi-generator/issues/6157
* fixed uncaught json exception in java native api gen
* cleaning up
Co-authored-by: Luis Ballabeni <luis.ballabeni@lexisnexis.com>