@suluk/hono - v0.1.5
    Preparing search index...

    Interface EmitContext

    interface EmitContext {
        info?: Partial<Info>;
        servers?: Server[];
        principal?: { scopes?: string[] };
        now?: string | Date;
        securityScheme?: string;
        securitySchemes?: Record<string, SecurityScheme>;
        includeDeprecated?: boolean;
        synthesizeErrors?: boolean;
    }
    Index

    Properties

    info?: Partial<Info>
    servers?: Server[]
    principal?: { scopes?: string[] }

    The "who": include only operations whose required scopes the principal holds. Omit ⇒ full public doc.

    now?: string | Date

    The "when": ISO date / Date. Drives deprecatedSince + removedSince. Omit ⇒ no time filtering.

    securityScheme?: string

    Name of the security scheme that scopes map onto (e.g. "bearerAuth"). Enables scopes→security.

    securitySchemes?: Record<string, SecurityScheme>

    Declared security schemes for components (C014).

    includeDeprecated?: boolean

    Include operations flagged deprecated (default true; they are marked, not hidden).

    synthesizeErrors?: boolean

    Synthesize RFC-9457 error responses (401/403 from access, 429 from a rate-limit facet, always-500, plus any route.errors) + a shared components.schemas.ProblemDetails. Default true — the SDK's isApiError guard and testgen's error-conformance need declared non-2xx responses to check. Set false for a success-only projection.