An open API service indexing awesome lists of open source software.

https://github.com/spectralops/spectral-example-json-output

Spectral With JSON Output
https://github.com/spectralops/spectral-example-json-output

Last synced: 5 months ago
JSON representation

Spectral With JSON Output

Awesome Lists containing this project

README

          

# Spectral With JSON Output

In this example you'll see how to use a JSON output in addition to your regular stylish reporter.

This is great for cases where you want to ship logs to your SIEM system or your log management service.

Look in [.spectral/spectral.yaml](.spectral/spectral.yaml):

reporter:
outputs:
stylish: {} # nice looking CLI reports
log: # use a logger
json: true # enable JSON logging
file: out.json # put output in a file