agentic-openapi-parser
    Preparing search index...

    Interface OpenApiParserServiceOptions

    interface OpenApiParserServiceOptions {
        cache?: { revalidateWithEtag?: boolean; ttlMs: number };
    }
    Index
    cache?: { revalidateWithEtag?: boolean; ttlMs: number }

    Caches dereferenced spec documents in memory, keyed by apiSpecUrl. Unset = no caching (always re-fetch/re-dereference).

    Type Declaration

    • OptionalrevalidateWithEtag?: boolean

      For http(s) URLs, revalidate an expired entry with a conditional GET (If-None-Match) instead of a full re-fetch when the server returns an ETag. Default true.

    • ttlMs: number