Skip to content

Commit

Permalink
fix(oas): add unknown componentType for http_header id generation sto…
Browse files Browse the repository at this point in the history
…plight doc usage (#226)
  • Loading branch information
chohmann authored Apr 21, 2023
1 parent b337a34 commit 8494066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const idGenerators = {
return join(['http_cookie', props.parentId, props.keyOrName]);
},

httpHeader: (props: Context & { keyOrName: string; componentType: 'parameter' | 'header' }) => {
httpHeader: (props: Context & { keyOrName: string; componentType: 'parameter' | 'header' | 'unknown' }) => {
return join(['http_header', props.parentId, props.componentType, props.keyOrName]);
},

Expand Down

0 comments on commit 8494066

Please sign in to comment.