OpenAPI
Booleans

boolean

The boolean type is simple; it represents either true or false. Be aware that it doesn't support other truthy/falsy values like: 1 or 0, an empty string “” or null. It has no additional attributes to control its format or validation.


# A boolean type
schema:
type: boolean