mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-21 10:17:09 +00:00
Fixes so that a oneOf schema with a single sub-schema is simplified (#21043)
* Fixes so that a oneOf schema with a single sub-schema is simplified when SIMPLIFY_ONEOF_ANYOF is set to true * Adjusts oneOf_array test to ensure that it is generated as an interface instead of being simplified * Update ruby samples so that they no longer refer to a model that is now gone due to the schema being simplified
This commit is contained in:
committed by
GitHub
parent
02204d0e4b
commit
1eee6038df
@@ -30,4 +30,5 @@ components:
|
||||
- items:
|
||||
$ref: '#/components/schemas/OneOf1'
|
||||
type: array
|
||||
- $ref: '#/components/schemas/OneOf1'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user