Skip to content

Commit a0b5459

Browse files
committed
Make the shorthand show more stuff
1 parent 011860d commit a0b5459

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

utils.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,9 @@ exports.swaggerInlineExample = function(_lang) {
224224
var annotation = [
225225
'@api [get] /pet/{petId}',
226226
'description: "Returns all pets from the system that the user has access to"',
227-
'responses:',
228-
' "200":',
229-
' description: "A list of pets."',
230-
' schema:',
231-
' type: "String"',
227+
'parameters:',
228+
' - (path) petId=2* {Integer} The pet ID',
229+
' - (query) limit {Integer:int32} The number of resources to return',
232230
];
233231

234232
var languages = {

0 commit comments

Comments
 (0)