forked from loafle/openapi-generator-original
38 lines
1.2 KiB
PowerShell
38 lines
1.2 KiB
PowerShell
# This file is auto-generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
|
|
# Please replace "TEST_VALUE" with a proper value and uncomment the code for testing the function
|
|
|
|
Describe 'IO.Swagger StoreApi' {
|
|
Context 'StoreApi' {
|
|
It 'Invoke-StoreApiDeleteOrder' {
|
|
$ret = Invoke-PetApiGetPetById -orderId "TEST_VALUE"
|
|
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
|
|
#$ret.property | Should Be 0
|
|
}
|
|
}
|
|
|
|
Context 'StoreApi' {
|
|
It 'Invoke-StoreApiGetInventory' {
|
|
$ret = Invoke-PetApiGetPetById
|
|
#$ret | Should BeOfType IO.Swagger.Model.ModelNameHere
|
|
#$ret.property | Should Be 0
|
|
}
|
|
}
|
|
|
|
Context 'StoreApi' {
|
|
It 'Invoke-StoreApiGetOrderById' {
|
|
$ret = Invoke-PetApiGetPetById -orderId "TEST_VALUE"
|
|
#$ret | Should BeOfType IO.Swagger.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.property | Should Be 0
|
|
}
|
|
}
|
|
|
|
}
|