oneOf with Nested oneOf
GET/oneof-nested
Schema:
type: object
properties:
oneOfProperty:
oneOf:
- type: object
properties:
nestedOneOfProp:
oneOf:
- type: string
- type: number
- type: boolean
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD1
- MOD2
oneOfProperty
object
oneOf
nestedOneOfProp
object
oneOf
string
number
boolean
{
"oneOfProperty": {}
}
Loading...