recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
20 lines (19 loc) • 518 B
TypeScript
import { OpenAPIV3 } from './types';
interface ServerUrlVariables {
[key: string]: ServerUrlValues;
}
interface ServerUrlValues {
enum: string[];
default?: string;
}
export declare class BasePath {
readonly variables: ServerUrlVariables;
readonly expressPath: string;
private allPaths;
constructor(server: OpenAPIV3.ServerObject);
static fromServers(servers: OpenAPIV3.ServerObject[]): BasePath[];
hasVariables(): boolean;
all(): string[];
private findUrlPath;
}
export {};