2 Answers
- Newest
- Most votes
- Most comments
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.
answered 2 years ago
Relevant content
- Accepted Answer
- AWS OFFICIALUpdated 2 years ago
Good question Pier