eclipse / microprofile-open-api

Microprofile open api
Apache License 2.0
131 stars 81 forks source link

[OAS 3.1.0] Only one of Paths, Components, or Webhooks is required #592

Closed Azquelt closed 1 month ago

Azquelt commented 5 months ago

Previously paths was always required in an OpenAPI document, but now only one of paths, components and webhooks is required.

In practise, I suspect that usually we will almost always have paths when using MP OpenAPI.

However, we may want to:

Azquelt commented 2 months ago

I can't see anywhere we're requiring paths, so we just need a test where we build a model without paths. This would need to be a separate app and it should probably disable scanning and just build the model with OASModelReader.

benjamin-confino commented 1 month ago

Please assign this to me.