forked from loafle/openapi-generator-original
[java][okhttp-gson-nextgen] better oneOf implementation (#11146)
* add validJsonObject method * add check for null * fix list model generation * fix optional fields validation * add tests * fix variable naming * update tests * add fromJson in oneOf, add tests * convert JSON to static * remove trailing space * add fromString methods to all models * add toJson, fix anyOf template * remove workarounds * undo changes to tests * skip file schema test * add new file
This commit is contained in:
14
samples/client/petstore/java/native-async/docs/ModelFile.md
Normal file
14
samples/client/petstore/java/native-async/docs/ModelFile.md
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
# ModelFile
|
||||
|
||||
Must be named `File` for test.
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**sourceURI** | **String** | Test capitalization | [optional]
|
||||
|
||||
|
||||
|
||||
13
samples/client/petstore/java/native-async/docs/ModelList.md
Normal file
13
samples/client/petstore/java/native-async/docs/ModelList.md
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
|
||||
# ModelList
|
||||
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**_123list** | **String** | | [optional]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user