@codegena/oapi3ts
Version:
Codegeneration from OAS3 to TypeScript
8 lines (7 loc) • 311 B
TypeScript
import { SourceFile } from "typescript";
export interface FileSavingStrategy {
getDependencyFullPath(modelName: string, operationName: string): string;
getCommonDependencyFullPath(modelName: string): string;
getRelativePath(from: string, to: string): string;
commit(source: SourceFile): void;
}