forked from loafle/openapi-generator-original
Better inline model resolver to handle inline schema in array item (#12104)
* better support of inline schema in array item * update tests * update samples * regenerate samples * fix allof naming, remove files * add files * update samples * update readme * fix tests * update samples * update samples * add new files * update test spec * add back tests * remove unused files * comment out python test * update js test using own spec * remove files * remove unused files * remove files * remove unused files * better handling of allOf with a single type * comment out go test * remove test_all_of_with_single_ref_single_ref_type.py * fix inline resolver, uncomment go test
This commit is contained in:
20
samples/client/petstore/ruby/docs/AllOfWithSingleRef.md
Normal file
20
samples/client/petstore/ruby/docs/AllOfWithSingleRef.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Petstore::AllOfWithSingleRef
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
| ---- | ---- | ----------- | ----- |
|
||||
| **username** | **String** | | [optional] |
|
||||
| **single_ref_type** | [**SingleRefType**](SingleRefType.md) | | [optional] |
|
||||
|
||||
## Example
|
||||
|
||||
```ruby
|
||||
require 'petstore'
|
||||
|
||||
instance = Petstore::AllOfWithSingleRef.new(
|
||||
username: null,
|
||||
single_ref_type: null
|
||||
)
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Petstore::UserType
|
||||
# Petstore::SingleRefType
|
||||
|
||||
## Properties
|
||||
|
||||
@@ -10,6 +10,6 @@
|
||||
```ruby
|
||||
require 'petstore'
|
||||
|
||||
instance = Petstore::UserType.new()
|
||||
instance = Petstore::SingleRefType.new()
|
||||
```
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
| **password** | **String** | | [optional] |
|
||||
| **phone** | **String** | | [optional] |
|
||||
| **user_status** | **Integer** | User Status | [optional] |
|
||||
| **user_type** | [**UserType**](UserType.md) | | [optional] |
|
||||
|
||||
## Example
|
||||
|
||||
@@ -27,8 +26,7 @@ instance = Petstore::User.new(
|
||||
email: null,
|
||||
password: null,
|
||||
phone: null,
|
||||
user_status: null,
|
||||
user_type: null
|
||||
user_status: null
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user