Skip to main content

allOf with Nested allOf

GET 

/allof-nested

An example demonstrating nested allOf within allOf.

Schema:

allOf:
- type: object
properties:
outerProp:
type: object
allOf:
- type: object
properties:
innerProp1:
type: string
- type: object
properties:
innerProp2:
type: number
- type: object
properties:
otherOuterProp:
type: string

Responses

Successful response