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
Given a header schema such as this
const HeadersSchema = { type: 'object', properties: { 'x-app-id': {type: 'string', description: 'application identifier'} }, required: ['x-app-id'] } as const;
I would expect the description to come through on the header on docs, but it doesn't. Currently it would appear that I need to do this
const HeadersSchema = { type: 'object', properties: { 'x-app-id': {type: 'string'} }, required: ['x-app-id'], description: 'application identifier' } as const;
which is obviously wrong if I want to have checks on different headers.
The text was updated successfully, but these errors were encountered:
fix: Use parameters spec.
d623592
Fixes #10.
You are right. Thanks for reporting this. I fixed this in release 2.2.1
Sorry, something went wrong.
No branches or pull requests
Given a header schema such as this
I would expect the description to come through on the header on docs, but it doesn't. Currently it would appear that I need to do this
which is obviously wrong if I want to have checks on different headers.
The text was updated successfully, but these errors were encountered: