原书出处
Automating API Delivery APIOps with OpenAPI
06 通过代码与定义生成促进遵约 6.2 Generating code from OpenAPI
There are challenges with generating API server code from the API definition. One is that API responses may not come from your API service, but from a component that sits in front of your service. So you need to configure the relevant components to generate responses in the required format. For example, the API gateway can have the responsibility of authenticating the consumer’s API key and can send a response for key authentication failures (a 401 error).
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-6.xhtml#p119
EPUB SHA-256:73b94e6cdce95a5b45154bc48c68151659ddf69ec246d4fad79dc89db000857e