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
7.6.1
v22.12.0
Linux
We've recently started to try to improve our API specs. We are using redcoly for linting. It appears that openapi-typescript also lints internally when generating types using redocly. After adding a redocly.yaml and setting the - recommended, type generation is failing. We've created an ignore file per: https://redocly.com/docs/cli/commands/lint, but openapi-typescript does not appears to be respecting the file and lint failures stop type generation. perhaps they need to be filtered out here: https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/src/lib/redoc.ts#L85-L102
redocly.yaml
- recommended
My spec technically passes, however you do get a warning
Woohoo! Your API description is valid. 🎉 5 problems are explicitly ignored.
openapi-typescript internal linting would also respect the redocly's .redocly.lint-ignore.yaml
.redocly.lint-ignore.yaml
npx @redocly/cli@latest lint
The text was updated successfully, but these errors were encountered:
Are you generating the types using the openapi-typescript CLI, or with the node.js interface?
Sorry, something went wrong.
The cli npx [email protected]
npx [email protected]
I've tried to open the PR, but it's not as straightforward as it seems.
No branches or pull requests
openapi-typescript version
7.6.1
Node.js version
v22.12.0
OS + version
Linux
Description
We've recently started to try to improve our API specs. We are using redcoly for linting. It appears that openapi-typescript also lints internally when generating types using redocly. After adding a
redocly.yaml
and setting the- recommended
, type generation is failing. We've created an ignore file per: https://redocly.com/docs/cli/commands/lint, but openapi-typescript does not appears to be respecting the file and lint failures stop type generation. perhaps they need to be filtered out here: https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/src/lib/redoc.ts#L85-L102My spec technically passes, however you do get a warning
Reproduction
Expected result
openapi-typescript internal linting would also respect the redocly's
.redocly.lint-ignore.yaml
Required
npx @redocly/cli@latest lint
)Extra
The text was updated successfully, but these errors were encountered: