Redocly/redocly-cli

redocly lint format html or markdown

marianobntz opened this issue · 5 comments

Is your feature request related to a problem? Please describe.

I am using redocly to generate the lint report to see warnings in an azure devops pipeline. I would like to show the lint report inside the pipeline results but I am having trouble finding a way to do it.

Any current format (1.11.0) is not suitable to upload directly so I would need to transform the report to another format and then upload.

Describe the solution you'd like

A new format for lint for markdown or html would greatly help my task. Thanks,

Describe alternatives you've considered

I am evaluating which format is more suitable for transformation but I could not find anything useful yet. Doing json to html convertion would be really difficult.

Additional context

Hi @marianobntz! How would you expect the results to be formatted in the markdown format?
I'm not sure, but maybe using the stats command with the --format=markdown option could be a workaround for your case?

Will try it but I need the actual warnings and errors just like the codeframe format. Will let you know soon.

Thanks