forked from loafle/openapi-generator-original
18 lines
863 B
PowerShell
18 lines
863 B
PowerShell
#
|
|
# OpenAPI Petstore
|
|
# This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: "" \
|
|
# Version: 1.0.0
|
|
# Generated by OpenAPI Generator: https://openapi-generator.tech
|
|
#
|
|
|
|
Describe -tag 'PSPetstore' -name 'PSEnumTest' {
|
|
Context 'PSEnumTest' {
|
|
It 'Initialize-PSEnumTest' {
|
|
# a simple test to create an object
|
|
#$NewObject = Initialize-PSEnumTest -EnumString "TEST_VALUE" -EnumStringRequired "TEST_VALUE" -EnumInteger "TEST_VALUE" -EnumIntegerOnly "TEST_VALUE" -EnumNumber "TEST_VALUE" -OuterEnum "TEST_VALUE" -OuterEnumInteger "TEST_VALUE" -OuterEnumDefaultValue "TEST_VALUE" -OuterEnumIntegerDefaultValue "TEST_VALUE"
|
|
#$NewObject | Should -BeOfType EnumTest
|
|
#$NewObject.property | Should -Be 0
|
|
}
|
|
}
|
|
}
|