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:
Mattias Sehlstedt
2025-04-26 16:53:21 +02:00
committed by GitHub
parent 02204d0e4b
commit 1eee6038df
21 changed files with 198 additions and 409 deletions

View File

@@ -7,6 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**message1** | **String** | | [optional] |