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,11 +1,11 @@
# 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 StoreApi' {
Describe 'Org.OpenAPITools StoreApi' {
Context 'StoreApi' {
It 'Invoke-StoreApiDeleteOrder' {
$ret = Invoke-PetApiGetPetById -orderId "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
@@ -13,7 +13,7 @@ Describe 'IO.Swagger StoreApi' {
Context 'StoreApi' {
It 'Invoke-StoreApiGetInventory' {
$ret = Invoke-PetApiGetPetById
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
@@ -21,15 +21,15 @@ Describe 'IO.Swagger StoreApi' {
Context 'StoreApi' {
It 'Invoke-StoreApiGetOrderById' {
$ret = Invoke-PetApiGetPetById -orderId "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}
Context 'StoreApi' {
It 'Invoke-StoreApiPlaceOrder' {
$ret = Invoke-PetApiGetPetById -body "TEST_VALUE"
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
$ret = Invoke-PetApiGetPetById -order "TEST_VALUE"
#$ret | Should BeOfType Org.OpenAPITools.Model.ModelNameHere
#$ret.property | Should Be 0
}
}