Skip to main content

anyOf with primitives

GET 

/anyof-primitives

Schema:

anyOf:
- type: string
- type: integer
- type: boolean
- type: null
- enum:
- dealValue
- price
- userRating
- popularityScore

Note: The last option is an inline enum without an explicit type, which is valid JSON Schema. The enum values should be displayed.

Responses

Successful response