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

    Type Alias HasPathsOrWebhooks<D>

    HasPathsOrWebhooks: D extends { paths: Record<string, unknown> }
        ? true
        : D extends { webhooks: Record<string, unknown> } ? true : false

    true when D declares either a paths or a webhooks object, so the PathKeysOf union can be derived from real document keys instead of falling back to string.

    Type Parameters

    • D