E.g.
foo:
oneOf:
- title: bar
$ref: '#/components/schemas/Bar'
- title: baz
$ref: '#/components/schemas/Baz'
nullable: true
I think should covert to:
foo:
oneOf:
- title: bar
$ref: '#/components/schemas/Bar'
- title: baz
$ref: '#/components/schemas/Baz'
- type: 'null'
I can see from convertNullable it's looking for the type prop and doesn't look at oneOf or anyOf.
I will get a PR together but please let me know if i'm making an incorrect assumption above.