Skip to content

Commit

Permalink
Merge pull request #156 from asteasolutions/bugfix/#155-responses-obj…
Browse files Browse the repository at this point in the history
…ect-not-typed-correctly-for-default

provide proper type for responses
  • Loading branch information
AGalabov authored Jul 12, 2023
2 parents 7ab3fbf + c47dee4 commit 8b500b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export interface ResponseConfig {
content?: ZodContentObject;
}

export type RouteConfig = OperationObject & {
export type RouteConfig = Omit<OperationObject, 'responses'> & {
method: Method;
path: string;
request?: {
Expand Down

0 comments on commit 8b500b8

Please sign in to comment.