UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

9 lines 651 B
import type { MergedSecuritySchemes } from '@scalar/api-client/v2/blocks/scalar-auth-selector-block'; import type { OpenApiDocument, OperationObject, SecuritySchemeObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document'; /** * Find the intersection between which security is selected on the document and what this operation requires * * If there is no overlap, we return the first requirement */ export declare const filterSelectedSecurity: (document: OpenApiDocument, operation: OperationObject | null, securitySchemes?: MergedSecuritySchemes) => SecuritySchemeObject[]; //# sourceMappingURL=filter-selected-security.d.ts.map