We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following gives a TypeScript error complaining about $ref not being a know property:
$ref
describeRoute({ responses: { 401: { $ref: '#/components/responses/401' } } })
However, this is valid according to the OpenAPI spec, and it works as expected at runtime.
The type definition for DescribeRouteOptions["responses"][code:string] should allow a reference object.
DescribeRouteOptions["responses"][code:string]
The text was updated successfully, but these errors were encountered:
MathurAditya724
Successfully merging a pull request may close this issue.
The following gives a TypeScript error complaining about
$ref
not being a know property:However, this is valid according to the OpenAPI spec, and it works as expected at runtime.
The type definition for
DescribeRouteOptions["responses"][code:string]
should allow a reference object.The text was updated successfully, but these errors were encountered: