You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"params" : [].concat([params.path("petId","ID of pet that needs to be fetched")]).concat([]).concat([params.body("body","Pet","Pet object that needs to be added to the store",true)
63
+
"parameters" : [].concat([params.path("petId","ID of pet that needs to be fetched")]).concat([]).concat([params.body("body","Pet","Pet object that needs to be added to the store",true)
"notes" : "Multiple status values can be provided with comma seperated strings",
160
160
"summary" : "Finds Pets by status",
161
161
"method": "GET",
162
-
"params" : [params.query("status","Status values that need to be considered for filter","string",true,true,"LIST[available,pending,sold]","available")].concat([]).concat([]).concat([]),
162
+
"parameters" : [params.query("status","Status values that need to be considered for filter","string",true,true,"LIST[available,pending,sold]","available")].concat([]).concat([]).concat([]),
Copy file name to clipboardExpand all lines: samples/server-generator/node/output/App/apis/UserApi.js
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ exports.updateUser = {
22
22
"notes" : "This can only be done by the logged in user.",
23
23
"summary" : "Updated user",
24
24
"method": "PUT",
25
-
"params" : [].concat([params.path("username","name that need to be deleted")]).concat([]).concat([params.body("body","User","Updated user object",true)
25
+
"parameters" : [].concat([params.path("username","name that need to be deleted")]).concat([]).concat([params.body("body","User","Updated user object",true)
"params" : [params.query("username","The user name for login","string",true,false,""),params.query("password","The password for login in clear text","string",true,false,"")].concat([]).concat([]).concat([]),
86
+
"parameters" : [params.query("username","The user name for login","string",true,false,""),params.query("password","The password for login in clear text","string",true,false,"")].concat([]).concat([]).concat([]),
0 commit comments