fluid-oas
Version:
Build declarative OpenApiv3.* specifications.
13 lines (12 loc) • 422 B
TypeScript
import { type BaseInterface } from "./base";
import type { OpenApiServerVariable } from "./OpenApiServerVariable";
export interface OpenApiServer extends BaseInterface {
addUrl(url: string): this;
addDescription(description: string): this;
addVariables(mappings: Partial<{
[K in string]: OpenApiServerVariable;
}>): this;
}
export declare const Server: {
addUrl(url: string): OpenApiServer;
};