Azure / Azure/azure-openapi-validator
Path parameter schema rule should allow some formats to replace maxLength/pattern
Open
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 57
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
Current rule specifies that both pattern and maxLength of a path parameter should be specified.
https://github.com/Azure/azure-openapi-validator/blob/main/docs/path-parameter-schema.md
But if I know that the parameter format is uuid, I shouldn't have to specify pattern and maxLength. Same would apply for a few other formats (ex. int32, date-time, ...).
Contributor guide
Assessment
This issue has not been assessed yet.