Add Junit XML as a linting result format
Hi, I had been using Spectral CLI for linting and been looking to switch to Redocly's linting solution. At my workplace we have a CI Job which lints our OpenAPI specs, stores the test results and report them to CircleCI if any issues are recognized.
Now the issue is that CircleCI only supports uploading test results in Junit XML format which sadly Redocly does not support, hence I am writing this issue.
Adding a new option for the --format and writing a backend for it would be the expected solution. I can't comment on specifics.
An alternative I've been looking into is to convert from checkstyle to junit on the fly from within my CI Job before uploading the test results.
You can also use the json output format as it's easier to work with.
You can also use the
jsonoutput format as it's easier to work with.
Yeah.. but the JSON output is specific to each tool which means I would need to write a helper script which converts the results to structured Junit.
It would be so convenient if Redocly has first class support for Junit XML as its a de facto standard when it comes to sharing test results b/w tools.