forked from loafle/openapi-generator-original
* replace powershell generator with powershell-experimental generator * add back samples * add back scripts * remove outdated script * update doc
24 lines
644 B
YAML
24 lines
644 B
YAML
#
|
|
# 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
|
|
#
|
|
|
|
version: 1.0.{build}
|
|
image:
|
|
- Visual Studio 2017 # PS 5.x
|
|
- Ubuntu # PS 6.x
|
|
- macOS # PS 6.x
|
|
install:
|
|
- ps: $PSVersionTable.PSVersion
|
|
- ps: Install-Module Pester -Force -Scope CurrentUser
|
|
build: off
|
|
test_script:
|
|
- ps: |
|
|
$Result = Invoke-Pester -PassThru
|
|
if ($Result.FailedCount -gt 0) {
|
|
$host.SetShouldExit($Result.FailedCount)
|
|
exit $Result.FailedCount
|
|
}
|