Skip to content

webhook need a paths? #2430

@christianfds

Description

@christianfds

I was reading the changelog of the 3.1.0-rc0 and it says:
While previous versions required paths, now a valid OpenAPI Document can describe only webhooks, or even only reusable components. Thus, an OpenAPI Document no longer necessarily describes an API.

But on the file examples/v3.1/webhook-example.yaml it states that:
OpenAPI documents all need a paths element

So can i have a openapi only with a webhooks in it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions