← 返回卡片

原书出处

Automating API Delivery APIOps with OpenAPI

10 自定义 Lint 与安全检查 10.1 The need for custom functions

核验版本的摘录快照 · 导入于 2026-11-24T09:39:53.482Z

So let me show you how to implement the getOperationIdConvention custom function. It should inspect the input target value, which is the operationId located by the given clause of the linting rule, and if it doesn’t start with retrieve or download, it should report a problem with the definition file.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-10.xhtml#p43

EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e