UNPKG

routing-controllers-openapi-extended

Version:

Runtime Swagger v2 / OpenAPI v2 specification generation for routing-controllers

6 lines (5 loc) 264 B
import * as oa from 'openapi3-ts'; import { Route } from './types'; export declare function getFullExpressPath(route: Route): string; export declare function getFullPath(route: Route): string; export declare function getPaths(routes: Route[]): oa.PathObject;