mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
65bda3e7b6
* [scala] Fix default values in scala client This uses consistent logic for optional types with default values in the scala client. Also, uses Option(default) instead of Some(default) to guard against people defining defaultValue = null. Option(null) becomes None while Some(null) defines a null value explicitly and will break maplike operations. * [scala] Regenerate client sample * [scala] Add missing json4s import, which will be added by another PR but allows current samples to generate * [scala] Include integration tests for required attributes support * [scala] Support string types with formats This adds support for better support of type=string and format={date,date-time,binary,byte}. Previously, binary and byte were inconsistently defined as strings rather than byte arrays, while date/date-time were parsing default values into formats that did not match OpenAPI/Swagger 2.0 specifications for full-date and date-time. We may want to consider pulling in json4s-ext to support wider date formats and moving to date=LocalDate and date-time=ZonedDateTime. This will have breaking changes for consumers expecting binary/byte to be strings rather than byte arrays. * [scala] Unique parameter names in integration test, to avoid seemingly conflicting names * [scala] Regenerate client sample * Sort file listings in AssertFile.java Per File#list() javadocs: There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order. I'm unable to repro directory listing failures on OS X High Sierra or Ubuntu 16.04 under Parallels, so it's not clear to me if listing order is indeterminate per-platform or the behavior is just not defined and up to the platform's installed runtime. Sorting the array of strings prior to comparison should resolve this issue on every platform/runtime. * [scala] exclude api tests for integration test gen script Script should match options in the integration test class * [scala] Temporarily disable client integration tests CI doesn't seem to pick up template changes in integration tests. Disabling scala client integration tests, pending investigation of the issue. * [scala] Remove redundant json4s import * [scala] Regenerate integration test * [scala] Regenerate sample |
||
---|---|---|
.. | ||
ada | ||
akka-scala | ||
android | ||
apex | ||
async-scala | ||
bash | ||
clojure | ||
cpprest | ||
csharp | ||
csharp-dotnet2/SwaggerClientTest/Lib/SwaggerClient | ||
dart | ||
eiffel | ||
elixir | ||
elm | ||
erlang-client | ||
flash | ||
go | ||
groovy | ||
haskell-http-client | ||
java | ||
javascript | ||
javascript-closure-angular | ||
javascript-es6 | ||
javascript-promise | ||
javascript-promise-es6 | ||
jaxrs-cxf | ||
jaxrs-cxf-client | ||
jmeter | ||
kotlin | ||
lua | ||
objc | ||
perl | ||
php | ||
powershell | ||
python | ||
python-asyncio | ||
python-tornado | ||
qt5cpp | ||
R | ||
r_test | ||
ruby | ||
rust | ||
rust2/examples/server_lib | ||
scala | ||
scalaz | ||
spring-cloud | ||
spring-stubs | ||
swift | ||
swift3 | ||
swift4 | ||
swift-promisekit | ||
tizen | ||
typescript-angular-v2 | ||
typescript-angular-v4/npm | ||
typescript-angular-v4.3/npm | ||
typescript-angularjs | ||
typescript-aurelia/default | ||
typescript-fetch | ||
typescript-jquery | ||
typescript-node |