File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ The JSON structure returned by the `overview` method is like the following:
103
103
// it contains the same structure we are describing
104
104
],
105
105
" decorators" : { // all the instance decorators | app.decorate('foo-bar', 42)
106
- " decorate" : [ { " name" : " foo-bar" } ], // the decorators' name
106
+ " decorate" : [ { " name" : " foo-bar" , " type " : " number " } ], // the decorators' name
107
107
" decorateRequest" : [], // app.decorateRequest('foo-bar', 42)
108
108
" decorateReply" : [] // app.decorateReply('foo-bar', 42)
109
109
},
@@ -248,7 +248,7 @@ Here an example of the cleaned output:
248
248
"name" : " async function (instance, opts) { -- instance.decorateReply('oneRep', {})" ,
249
249
"decorators" : {
250
250
"decorateReply" : [
251
- { "name" : " oneRep" }
251
+ { "name" : " oneRep" , "type" : " object " }
252
252
]
253
253
}
254
254
}
You can’t perform that action at this time.
0 commit comments