UNPKG

express-swagger-autogen

Version:

A library that auto generates swagger docs to your endpoints from express.

9 lines (8 loc) 330 B
import { HandlerDocumentation } from "./utils"; /** * Decorator to document a controller method. * * @param {HandlerDocumentation} documentation - The documentation object for the method. * @returns {Function} - The decorator function. */ export declare function Documentation(documentation: HandlerDocumentation): Function;