Azure / Azure/azure-openapi-validator

Path parameter schema rule should allow some formats to replace maxLength/pattern

Open
#458 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.