UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

11 lines (10 loc) 482 B
import { withDescription, withName, withType, withIn, withScheme, withBearerFormat, withFlows, withOpenIdConnectURL, } from "../common"; import { Base } from "./base"; const SecurityBase = withOpenIdConnectURL(withFlows(withBearerFormat(withScheme(withIn(withName(withDescription(withType(Base)())))())))); class _OpenApiSecurityScheme extends SecurityBase { } export const SecurityScheme = { addType(type) { return new _OpenApiSecurityScheme().addType(type); }, };