forked from loafle/openapi-generator-original
Add example allOf with single ref (#10948)
* Add example allOf with single ref * fix dart-dio-next handling of that case * Refactor without vendor extension * Regenerate newer samples
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
| **password** | **String** | | [optional] |
|
||||
| **phone** | **String** | | [optional] |
|
||||
| **user_status** | **Integer** | User Status | [optional] |
|
||||
| **user_type** | [**UserType**](UserType.md) | | [optional] |
|
||||
|
||||
## Example
|
||||
|
||||
@@ -26,7 +27,8 @@ instance = Petstore::User.new(
|
||||
email: null,
|
||||
password: null,
|
||||
phone: null,
|
||||
user_status: null
|
||||
user_status: null,
|
||||
user_type: null
|
||||
)
|
||||
```
|
||||
|
||||
|
||||
15
samples/client/petstore/ruby/docs/UserType.md
Normal file
15
samples/client/petstore/ruby/docs/UserType.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Petstore::UserType
|
||||
|
||||
## Properties
|
||||
|
||||
| Name | Type | Description | Notes |
|
||||
| ---- | ---- | ----------- | ----- |
|
||||
|
||||
## Example
|
||||
|
||||
```ruby
|
||||
require 'petstore'
|
||||
|
||||
instance = Petstore::UserType.new()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user