forked from loafle/openapi-generator-original
* replace powershell generator with powershell-experimental generator * add back samples * add back scripts * remove outdated script * update doc
18 lines
616 B
PowerShell
18 lines
616 B
PowerShell
#
|
|
# OpenAPI Petstore
|
|
# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
# Version: 1.0.0
|
|
# Generated by OpenAPI Generator: https://openapi-generator.tech
|
|
#
|
|
|
|
Describe -tag 'PSPetstore' -name 'ApiResponse' {
|
|
Context 'ApiResponse' {
|
|
It 'New-ApiResponse' {
|
|
# a simple test to create an object
|
|
#$NewObject = New-ApiResponse -Code "TEST_VALUE" -Type "TEST_VALUE" -Message "TEST_VALUE"
|
|
#$NewObject | Should BeOfType ApiResponse
|
|
#$NewObject.property | Should Be 0
|
|
}
|
|
}
|
|
}
|