python-openapi / openapi-spec-validator

OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.
Apache License 2.0
337 stars 62 forks source link

Allow undefined required properties #312

Closed sharkwouter closed 6 months ago

sharkwouter commented 10 months ago

According to the OpenAPI spec this is allowed. This should solve #97

sharkwouter commented 10 months ago

I'll need to address some issues with the tests after this change.

sharkwouter commented 8 months ago

Sorry for taking a while to update this PR. It should be good now.