Skip to content

Commit

Permalink
fix: use intersection type in case of additionalProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 9, 2020
1 parent 794ac03 commit 0522b4b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ export interface paths {
* response
*/
"201": {
"application/json": components["schemas"]["integration"] & {
client_id: string;
client_secret: string;
webhook_secret: string;
pem: string;
[key: string]: any;
};
"application/json": components["schemas"]["integration"] &
({
client_id: string;
client_secret: string;
webhook_secret: string;
pem: string;
} & { [key: string]: any });
};
"404": unknown;
"422": unknown;
Expand Down Expand Up @@ -21623,8 +21623,7 @@ export interface components {
metadata?: string;
contents?: string;
deployments?: string;
[key: string]: string;
};
} & { [key: string]: string };
/**
* The list of events for the GitHub app
*/
Expand All @@ -21637,8 +21636,7 @@ export interface components {
client_secret?: string;
webhook_secret?: string;
pem?: string;
[key: string]: any;
};
} & { [key: string]: any };
/**
* Basic Error
*/
Expand Down

0 comments on commit 0522b4b

Please sign in to comment.