Skip to content

Commit

Permalink
fix: openapiMethod type
Browse files Browse the repository at this point in the history
  • Loading branch information
liangskyli committed Apr 26, 2023
1 parent c66e75c commit e604be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openapi-gen-ts/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const fileTip = `/**

export type OpenapiMethod = keyof Omit<
PathItemObject,
'servers' | 'parameters'
'servers' | 'parameters' | `x-${string}`
>;
export const methodList: OpenapiMethod[] = [
'get',
Expand Down

0 comments on commit e604be0

Please sign in to comment.