openapi-spec-validator icon indicating copy to clipboard operation
openapi-spec-validator copied to clipboard

validate component name

Open spaceone opened this issue 6 years ago • 0 comments

Component names aren't validated, e.g. if a model contains a /.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#componentsObject

All the fixed fields declared above are objects that MUST use keys that match the regular expression: ^[a-zA-Z0-9\.\-_]+$.

spaceone avatar Sep 04 '19 17:09 spaceone