Add tests for cases where oneOf is applied to object properties
- Three new OpenAPI endpoints and corresponding schemas
are added to basic-schema-alternatives.yaml:
- /banks-data (postSearchData): a request body whose 'customer'
property is a oneOf of primitives and two object types with
required fields. Exercises PostSearchData_request_customer and its
four alternatives (primitive ID, phone string, userName object,
customerId object).
- /newAccount (postAccount): a request body that is itself a oneOf
of a named schema reference ($ref Account) and a free-form
additionalProperties object, testing map<string, QJsonValue>
handling alongside schema refs.
- /newClient (updateClientData): a request body using a top-level
object whose 'value' property is a oneOf of string and boolean,
covering the simplest inline primitive-only property case.
Task-number: QTBUG-144988
Change-Id: I36d0db4980a03f2321111314d84a0e42860ab6a8
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>