forked from loafle/openapi-generator-original
Add powershell echo test, rename api key names (#17043)
* add powershell echo test, rename api key names * update
This commit is contained in:
18
samples/client/echo_api/powershell/tests/Model/Pet.Tests.ps1
Normal file
18
samples/client/echo_api/powershell/tests/Model/Pet.Tests.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Echo Server API
|
||||
# Echo Server API
|
||||
# Version: 0.1.0
|
||||
# Contact: team@openapitools.org
|
||||
# Generated by OpenAPI Generator: https://openapi-generator.tech
|
||||
#
|
||||
|
||||
Describe -tag 'PSOpenAPITools' -name 'Pet' {
|
||||
Context 'Pet' {
|
||||
It 'Initialize-Pet' {
|
||||
# a simple test to create an object
|
||||
#$NewObject = Initialize-Pet -Id "TEST_VALUE" -Name "TEST_VALUE" -Category "TEST_VALUE" -PhotoUrls "TEST_VALUE" -Tags "TEST_VALUE" -Status "TEST_VALUE"
|
||||
#$NewObject | Should -BeOfType Pet
|
||||
#$NewObject.property | Should -Be 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user