Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Updated sytax for allowable values
Browse files Browse the repository at this point in the history
  • Loading branch information
fehguy committed Oct 31, 2012
1 parent d6ce1e9 commit 5a74a7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Apps/petstore/petResources.js
Expand Up @@ -42,7 +42,9 @@ exports.findByStatus = {
"notes" : "Multiple status values can be provided with comma-separated strings",
"summary" : "Find pets by status",
"method": "GET",
"params" : [param.query("status", "Status (Values: available, pending, sold)", "string", true, true)],
"params" : [
param.query("status", "Status in the store", "string", true, true, "LIST[available,pending,sold]", "available")
],
"responseClass" : "List[Pet]",
"errorResponses" : [swe.invalid('status')],
"nickname" : "findPetsByStatus"
Expand Down

0 comments on commit 5a74a7d

Please sign in to comment.