This commit is contained in:
Tony Tam
2015-05-20 22:51:30 -07:00
parent 3a2f258517
commit 99a11636da
6 changed files with 46 additions and 45 deletions

View File

@@ -123,7 +123,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
* @param status Status values that need to be considered for filter
* @return List[Pet]
*/
def findPetsByStatus (status: List[String]) : Option[List[Pet]] = {
def findPetsByStatus (status: List[String] = available) : Option[List[Pet]] = {
// create path and map variables
val path = "/pet/findByStatus".replaceAll("\\{format\\}","json")