update powershell default value (#380)

This commit is contained in:
William Cheng
2018-05-09 10:31:05 +08:00
committed by GitHub
parent b24df8882f
commit 4fd68f0f24
23 changed files with 107 additions and 107 deletions

View File

@@ -1,27 +1,27 @@
# This file is auto-generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
# Please replace "TEST_VALUE" with a proper value and uncomment the code for testing the function
Describe 'IO.Swagger UserApi' {
Describe 'Org.OpenAPITools UserApi' {
Context 'UserApi' {
It 'Invoke-UserApiCreateUser' {
$ret = Invoke-PetApiGetPetById -body "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
$ret = Invoke-PetApiGetPetById -user "TEST_VALUE"
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
Context 'UserApi' {
It 'Invoke-UserApiCreateUsersWithArrayInput' {
$ret = Invoke-PetApiGetPetById -body "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
$ret = Invoke-PetApiGetPetById -user "TEST_VALUE"
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
Context 'UserApi' {
It 'Invoke-UserApiCreateUsersWithListInput' {
$ret = Invoke-PetApiGetPetById -body "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
$ret = Invoke-PetApiGetPetById -user "TEST_VALUE"
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
@@ -29,7 +29,7 @@ Describe 'IO.Swagger UserApi' {
Context 'UserApi' {
It 'Invoke-UserApiDeleteUser' {
$ret = Invoke-PetApiGetPetById -username "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
@@ -37,7 +37,7 @@ Describe 'IO.Swagger UserApi' {
Context 'UserApi' {
It 'Invoke-UserApiGetUserByName' {
$ret = Invoke-PetApiGetPetById -username "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
@@ -45,7 +45,7 @@ Describe 'IO.Swagger UserApi' {
Context 'UserApi' {
It 'Invoke-UserApiLoginUser' {
$ret = Invoke-PetApiGetPetById -username "TEST_VALUE" -password "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
@@ -53,15 +53,15 @@ Describe 'IO.Swagger UserApi' {
Context 'UserApi' {
It 'Invoke-UserApiLogoutUser' {
$ret = Invoke-PetApiGetPetById
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
Context 'UserApi' {
It 'Invoke-UserApiUpdateUser' {
$ret = Invoke-PetApiGetPetById -username "TEST_VALUE" -body "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
$ret = Invoke-PetApiGetPetById -username "TEST_VALUE" -user "TEST_VALUE"
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}