fluid-oas
Version:
Build declarative OpenApiv3.* specifications.
14 lines (13 loc) • 515 B
TypeScript
import { type BaseInterface } from "./base";
import type { OpenApiServer } from "./OpenApiServer";
export interface OpenApiLink extends BaseInterface {
addServer(server: OpenApiServer): this;
addDescription(description: string): this;
addRequestBodyLiteral(literalRequestBody: string): this;
addParametersLiteral(mappings: Partial<{
[K in string]: string;
}>): this;
addOperationId(id: string): this;
addOperationRef(ref: string): this;
}
export declare const Link: OpenApiLink;