bundesAPI / bundesAPI/lebensmittelwarnung-api
Fix OpenAPI Warnings
- Dominant language
- Python
- Stars
- 21
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Run OpenAPI check :
- `echo "extends: spectral:oas" > .spectral.yaml`
- `docker run --rm -it -v $(pwd):/tmp stoplight/spectral lint --ruleset "/tmp/.spectral.yaml" https://lebensmittelwarnung.api.bund.dev/openapi.yaml`
Output:
```
https://lebensmittelwarnung.api.bund.dev/openapi.yaml
2:6 warning info-contact Info object must have "contact" object. info
7:10 warning oas3-server-trailing-slash Server URL must not have trailing slash. servers[0].url
12:10 warning operation-tags Operation must have non-empty "tags" array. paths./warnings/merged.post
✖ 3 problems (0 errors, 3 warnings, 0 infos, 0 hints)
```
See also https://github.com/bundesAPI/lebensmittelwarnung-api/actions/runs/2618263720/jobs/4054789180
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.