Forum Discussion
Hi Saranyapuru
Can you be more specific in your question?
Which version of OpenAPI are you using?
As far as I know, it is suported in v3.1, otherwize, you will have to use regular object definitions with "additionalProperties": false to ensure your definition limits
Look at this at this post and let us know.
- saranyapuru3 years agoNew Contributor
Hi Thanks for the reply. I am using OpenAPI version 3.0.3
When I use patternProperties in yaml its complaining about additionalProperties. I am getting the below error
Structural error at components.schemas.name
should NOT have additional properties additionalProperty: patternProperties
This page shows that its unsupported keyword.- chichepo3 years agoChampion Level 1
Actually, patternproperties is not suported in OAS 3.0.3
It will be in 3.1.0 (see here, here and here for more details)
😉- saranyapuru3 years agoNew Contributor
Could you recommend toolset to edit the OpenAPISpec 3.1? Swagger editor only support 3.0.3
Related Content
- 5 years ago
Recent Discussions
- 20 days ago