https://github.com/pedrofurtado/spectral-demo
Spectral OpenAPI yaml linter demo. Just for fun.
https://github.com/pedrofurtado/spectral-demo
Last synced: about 1 month ago
JSON representation
Spectral OpenAPI yaml linter demo. Just for fun.
- Host: GitHub
- URL: https://github.com/pedrofurtado/spectral-demo
- Owner: pedrofurtado
- Created: 2024-03-14T09:37:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-14T10:05:32.000Z (about 1 year ago)
- Last Synced: 2025-01-25T23:55:18.914Z (3 months ago)
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spectral-demo
Spectral OpenAPI yaml linter demo. Just for fun.
```bash
docker container run --rm -it -w /app -v $(pwd):/app node:16 /bin/bash
npm install
npx spectral lint myapispec.yaml --ruleset my-spectral-rulesets.yaml
```