Closed
Description
Written in yaml because json is exhausting
someObject:
type: object
property:
nullableProperty:
oneOf:
- type: "null"
- type: object
properties:
yay:
type: string
Resulting output (Incorrect )
someObject:
type: object
property:
nullableProperty:
oneOf:
- nullable: true
- type: object
properties:
yay:
type: string
Expected Output (correct)
someObject:
type: object
property:
nullableProperty:
type: object
nullable: true
properties:
yay:
type: string
While this will validate (loosely) against Swagger 3.0 specification, it will indeed break code generators.
Metadata
Metadata
Assignees
Labels
No labels