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
653 B
PowerShell
18 lines
653 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 'Order' {
|
|
Context 'Order' {
|
|
It 'New-Order' {
|
|
# a simple test to create an object
|
|
#$NewObject = New-Order -Id "TEST_VALUE" -PetId "TEST_VALUE" -Quantity "TEST_VALUE" -ShipDate "TEST_VALUE" -Status "TEST_VALUE" -Complete "TEST_VALUE"
|
|
#$NewObject | Should BeOfType Order
|
|
#$NewObject.property | Should Be 0
|
|
}
|
|
}
|
|
}
|