Todo list of features we want to support before version v1.0.0:
-
request:
- @required({methodName:key})
- @validate(method,key,validFunc])
- @useAuth(middleware)
- @security(type,username,password)
-
response:
- @header(key|fields, ?value)
- @type(type:string)
- @redirect(path:string)
- @cache
-
arguments:
- @param(key:string)
- @body(key:string)
- @query(key:string)
- @headers(key?:string)
-
Class:
- @controller(path:string)
- @timer(cronTime:string)
- @inject(LibName:string)
- @provide(LibName)
- @ctx(routerPath)
-
controllerClass:
- @local
- @prefix(path:string)
-
utils:
- @decorator
- @globalSetting