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

[OAS 3.1.0] at least one of `paths`, `components` or `webhooks` must be set

Open jmini opened this issue 5 years ago • 1 comments

From the release notes: https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0-rc0

An OpenAPI Document now requires at least one of paths, components or webhooks to exist at the top level. While previous versions required paths, now a valid OpenAPI Document can describe only webhooks, or even only reusable components.

jmini avatar Jul 02 '20 20:07 jmini

This relates to https://github.com/OpenAPITools/openapi-style-validator/issues/190

gervaisb avatar Oct 12 '21 06:10 gervaisb