Multiple allOf with Nested Properties
GET/multiple-allof-nested
Schema:
allOf:
- type: object
properties:
outerProp1:
type: object
properties:
innerProp1:
type: string
- type: object
properties:
outerProp2:
type: object
properties:
innerProp2:
type: number
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
outerProp1
object
innerProp1 string
outerProp2
object
innerProp2 number
{
"outerProp1": {
"innerProp1": "string"
},
"outerProp2": {
"innerProp2": 0
}
}
Loading...