@samchon/openapi
Version:
OpenAPI definitions and converters for 'typia' and 'nestia'.
13 lines (12 loc) • 461 B
TypeScript
import { OpenApi } from "../../OpenApi";
import { IHttpMigrateRoute } from "../../structures/IHttpMigrateRoute";
export declare namespace HttpMigrateRouteComposer {
interface IProps {
document: OpenApi.IDocument;
method: "head" | "get" | "post" | "put" | "patch" | "delete";
path: string;
emendedPath: string;
operation: OpenApi.IOperation;
}
const compose: (props: IProps) => IHttpMigrateRoute | string[];
}