forked from loafle/openapi-generator-original
handle composed schemas in InlineModelResolver (#2112)
* handle composed schemas in InlineModelResolver * fix unit test -> TestUtils.parseSpec * update samples * fix samples * update samples * update samples * add new files
This commit is contained in:
committed by
William Cheng
parent
7eb2be9c99
commit
ee43cc1520
17
samples/openapi3/client/petstore/ruby/docs/CatAllOf.md
Normal file
17
samples/openapi3/client/petstore/ruby/docs/CatAllOf.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Petstore::CatAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**declawed** | **Boolean** | | [optional]
|
||||
|
||||
## Code Sample
|
||||
|
||||
```ruby
|
||||
require 'Petstore'
|
||||
|
||||
instance = Petstore::CatAllOf.new(declawed: null)
|
||||
```
|
||||
|
||||
|
||||
17
samples/openapi3/client/petstore/ruby/docs/DogAllOf.md
Normal file
17
samples/openapi3/client/petstore/ruby/docs/DogAllOf.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Petstore::DogAllOf
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**breed** | **String** | | [optional]
|
||||
|
||||
## Code Sample
|
||||
|
||||
```ruby
|
||||
require 'Petstore'
|
||||
|
||||
instance = Petstore::DogAllOf.new(breed: null)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user