Skip to content

Commit 0522b4b

Browse files
committed
fix: use intersection type in case of additionalProperties
1 parent 794ac03 commit 0522b4b

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

generated/types.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ export interface paths {
8686
* response
8787
*/
8888
"201": {
89-
"application/json": components["schemas"]["integration"] & {
90-
client_id: string;
91-
client_secret: string;
92-
webhook_secret: string;
93-
pem: string;
94-
[key: string]: any;
95-
};
89+
"application/json": components["schemas"]["integration"] &
90+
({
91+
client_id: string;
92+
client_secret: string;
93+
webhook_secret: string;
94+
pem: string;
95+
} & { [key: string]: any });
9696
};
9797
"404": unknown;
9898
"422": unknown;
@@ -21623,8 +21623,7 @@ export interface components {
2162321623
metadata?: string;
2162421624
contents?: string;
2162521625
deployments?: string;
21626-
[key: string]: string;
21627-
};
21626+
} & { [key: string]: string };
2162821627
/**
2162921628
* The list of events for the GitHub app
2163021629
*/
@@ -21637,8 +21636,7 @@ export interface components {
2163721636
client_secret?: string;
2163821637
webhook_secret?: string;
2163921638
pem?: string;
21640-
[key: string]: any;
21641-
};
21639+
} & { [key: string]: any };
2164221640
/**
2164321641
* Basic Error
2164421642
*/

0 commit comments

Comments
 (0)