UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

16 lines (15 loc) 721 B
import { type BaseInterface } from "./base"; import type { OpenApiOAuthFlows } from "./OpenApiOAuthFlows"; export interface OpenApiSecurityScheme extends BaseInterface { addType(type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect"): this; addDescription(description: string): this; addName(name: string): this; addIn(inSecurity: "query" | "header" | "cookie"): this; addScheme(scheme: string): this; addBearerFormat(bearerFormat: string): this; addFlows(flows: OpenApiOAuthFlows): this; addOpenIdConnectUrl(val: string): this; } export declare const SecurityScheme: { addType(type: "apiKey" | "http" | "mutualTLS" | "oauth2" | "openIdConnect"): OpenApiSecurityScheme; };