原书出处
Automating API Delivery APIOps with OpenAPI
07 用模式测试检查 API 遵约 7.1 Schema tests
A schema test for the preceding message checks that the actual message returned from the API operation conforms to the schema. This is an automated test that compares the response of the API with the schema in the API definition and fails if they don’t match. For example, for the preceding schema, a schema test checks that the name property is of type string and has a length not less than 1 or greater than 50.
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-7.xhtml#p14
EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e