Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed May 5, 2023
1 parent 61e0494 commit fde6161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open-api/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export function resolveResponse({
}

export function isInPath(url: string, param: string): boolean {
return url.includes(`:${param}`);
return url.includes(`:${param}`) || url.includes(`{${param}}`);
}

function getOperationFieldNode(
Expand Down

0 comments on commit fde6161

Please sign in to comment.