Redocly / redoc

📘 OpenAPI/Swagger-generated API Reference Documentation
https://redocly.github.io/redoc/
MIT License
22.89k stars 2.27k forks source link

Configuration to turn linting on or off #2450

Open rb80 opened 7 months ago

rb80 commented 7 months ago

Describe the problem to be solved The linter runs whenever it generates specs, which puts output in the console and adds to render time. This is a problem when used in customer facing interfaces.

Describe the solution you'd like A configuration parameter in redocly.yaml and available on the command line which would enable (default) or disable linting.

Describe alternatives you've considered While it's not possible to prevent linting it's possible to "hide" the errors by clearing the console in the browser via JavaScript.

ZyzychO commented 7 months ago

Hi,

Would you mind providing us with the steps you took to replicate this behavior, along with a screenshot displaying the errors?

131706dulce commented 6 months ago