UNPKG

openapi-axios

Version:

OpenAPI(2.0/3.0/3.1) Schema → Type-safe Axios

13 lines (12 loc) 284 B
export interface PathSlice { type: 'param' | 'segment'; value: string; } export declare class VarPath { #private; readonly path: string; props: string[]; constructor(path: string); toString(vars: Record<string, string>): string; toPattern(): string; }