← 返回卡片

原书出处

Automating API Delivery APIOps with OpenAPI

04 破坏性变更与 API 演进 4.12 Managing breaking changes

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

Consider using an open-ended list of values instead of enums when the final list of values is unknown or when there is a likelihood that the list of values will change. Enums are properties that have a fixed set of values. Client integration code (created by developers or generated with automation tools from the OpenAPI definition) may not robustly handle new and unknown enum values.

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

原书定位详情

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

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

EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e