Skip to content

Commit 003260e

Browse files
committed
Merge main branch - resolve conflicts in allOf additionalProperties handling
2 parents cb4032d + 89b0f13 commit 003260e

File tree

1 file changed

+4
-1
lines changed
  • packages/openapi-ts/src/openApi/shared/types

1 file changed

+4
-1
lines changed

packages/openapi-ts/src/openApi/shared/types/schema.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ export interface SchemaState {
66
$ref?: string;
77
circularReferenceTracker: Set<string>;
88
/**
9-
* True if current schema is being parsed inside an allOf composition.
9+
* True if current schema is part of an allOf composition. This is used to
10+
* avoid emitting [key: string]: never for empty objects with
11+
* additionalProperties: false inside allOf, which would override inherited
12+
* properties from other schemas in the composition.
1013
*/
1114
inAllOf?: boolean;
1215
/**

0 commit comments

Comments
 (0)