原书出处
Automating API Delivery APIOps with OpenAPI
03 API Lint 与设计一致性 3.3 Introducing API linters
Besides Spectral, the Redocly CLI (https://github.com/Redocly/redocly-cli) has an API linter well known for its easy-to-use OpenAPI file management features. Vacuum (https://github.com/daveshanley/vacuum) is a very fast OpenAPI linter that works with Spectral rulesets. One final tool worth mentioning is Kevin Swiber’s Spego (https://github.com/kevinswiber/spego), which uses the Open Policy Agent (OPA) to validate OpenAPI definitions. In Spego, linting rules are defined in Rego, which is a declarative policy language used by OPA.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-3.xhtml#p33
EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e