Replies: 1 comment 2 replies
-
The PR that add this functionality was focused around Code Climate. @smsalisbury can you comment if the format will work more generally within GitLab CI or if it's limited to codeclimate type reports? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I have a question, for whoever would have the answer and be kind enough to reply :-)
I use the Spectral CLI to lint OpenAPI/AsyncAPI files. In the available output formats, one of them is "gitlab", which generates a report in JSON. Given the name of that formatter, I expect it's meant at being interpreted by Gitlab CI/CD in some way (e.g. for a MR report), but I can't figure out how.
My first guess was to feed this as a "report artifact" of a Gitlab job, but if it's correct, which one among the list provided by Gitlab (https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html) ?
Thank you in advance if anyone of you know what to do with this JSON output of the "gitlab" formatter ! :-)
Beta Was this translation helpful? Give feedback.
All reactions