Skip to content

Commit

Permalink
openapi-types: accept boolean JSON Schemas (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
emonadeo authored Apr 26, 2024
1 parent 09fed6d commit 32a74bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/openapi-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ export namespace OpenAPIV3_1 {
export type SchemaObject =
| ArraySchemaObject
| NonArraySchemaObject
| MixedSchemaObject;
| MixedSchemaObject
| boolean;

export interface ArraySchemaObject extends BaseSchemaObject {
type: ArraySchemaObjectType;
Expand Down

0 comments on commit 32a74bc

Please sign in to comment.