2 回答
- 最新
- 投票最多
- 评论最多
0
It is still not possible to validate the format of path parameters, only their existence. You will need to validate the format in the integration.
0
Hi there, perhaps I'm not fully understanding your question, however if there path is incorrect, there won't be an API Gateway resource on the back end to hit so any validation on that path would need to happen client side. I'm not aware of any option in the OpenApi definition to add validation on the path parameters.
已回答 2 年前
相关内容
- AWS 官方已更新 1 年前