Files
openapi-generator/samples/client/petstore/java/okhttp-gson/docs/ShapeOrNull.md
fkellner efd06f5719 Fix bug in ModelUtils.getParentName resulting in wrong inner Models for oneOf-composed schemas (#21799)
* Test Cases for more than two oneOf-Options (both passing, but important to narrow down observed bug)

* fix language-specific tests broken by adding a third fruit to oneOf test

* create reproducer unit test for java client codegen

* fix typo in test yaml

* fix ModelUtils.getParentName returning name of first element in composed schema instead of null when there are multiple elements and it is not clear which one should be parent

* rename test yaml and added tests for clarity

* update samples

* update samples again
2025-09-02 15:26:26 +08:00

343 B

ShapeOrNull

The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1.

Properties

Name Type Description Notes
shapeType String
triangleType String
quadrilateralType String