import { ApiBodyInfo } from "./ApiBodyInfo"; import { IDictionary } from "../../util/IDictionary"; /** * Describes an API endpoint. */ export declare class ApiOperation { /** * Name of the endpoint. */ name?: string; /** * Description of the endpoint. */ description?: string; /** * Information about the endpoint request body. */ request?: ApiBodyInfo; /** * Map of HTTP status codes (as strings) to response * body info. This means that you can describe the success * body of a 200 response as well as the error body of a 500 * response. */ responses?: IDictionary; }