Add oneOf feature support for Qt6 client generator
- Implement oneOf schema support in model-body.mustache and
model-header.mustache templates with proper C++ code generation.
- Add initial test suite covering basic oneOf schema alternatives
(server not required for these tests; more tests to follow).
oneOf (OpenAPI):
- oneOf is an OpenAPI schema composition keyword that requires a value
to match exactly one schema from a list of alternatives. It is used to
define polymorphic models with mutually exclusive variants.
- Example: a schema may allow either a Dog or a Cat object,
but not both at the same time.
Reference:
https://swagger.io/docs/specification/v3_0/data-models/oneof-anyof-allof-not/
Task-number: QTBUG-144988
Change-Id: I6e887df7c8257037a9ff2d6ba7979134b80a5343
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>