schema-components - v3.7.0
    Preparing search index...

    Function ApiWebhook

    • Render a single OpenAPI 3.1 webhook by name. A webhook is a Path Item Object under the document's top-level webhooks map; once resolved, its operations are structurally identical to operations under paths.

      Delegates to ApiOperation for each method present on the webhook's Path Item Object — the parser's lookupPathItem resolves webhook names through the same code path as paths, so ApiOperation works for both with no special-casing in the renderer.

      Parameters

      Returns ReactNode