UNPKG

node-web-mvc

Version:
21 lines (20 loc) 880 B
import BasicMapping from './BasicMapping'; declare class PutMapping extends BasicMapping { } /** * 配置一个PUT请求映射 * 例如: * * @RequestMapping('/user/') * @RequestMapping(['/user','/hello'],'GET') * @RequestMapping('/user','POST','application/json') * RequestMapping({ value:'/user',method:'POST',produces:'application/json',consumes:'' }) * @param {String/Object/Array} value 可以为对象,或者为path的字符串数组 '/user' ['/user' ] { value:'xxx',method:'' } */ declare const _default: { (options: string | string[] | import("../Target").CreateOptions<typeof PutMapping>): MethodDecorator; (target: { [x: string]: any; }, propertyKey: string, descriptor: TypedPropertyDescriptor<any>): any; } & import("../annotation/type").LinkAnnotationType<typeof PutMapping> & typeof PutMapping; export default _default;