Skip to content

Commit 537bcb4

Browse files
committed
Add additionalProperties property to object schema
1 parent c62baa8 commit 537bcb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/schema.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ export function isArrayOasSchema(schema: any): schema is ArrayOasSchema {
9393
}
9494

9595
export interface ObjectOasSchema extends ObjectJsonSchema, OasSchema<Record<string, any>> {
96+
additionalProperties?: OasSchema;
9697
allOf?: Array<ObjectOasSchema | Reference>;
9798
anyOf?: Array<ObjectOasSchema | Reference>;
9899
discriminator?: Discriminator;

0 commit comments

Comments
 (0)