All Downloads are FREE. Search and download functionalities are using the official Maven repository.

powershell.api_test.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
# Please replace "TEST_VALUE" with a proper value and uncomment the code for testing the function

Describe '{{{packageName}}} {{{classname}}}' {
{{#operations}}
{{#operation}}
    Context '{{{classname}}}' {
        It 'Invoke-{{{classname}}}{{{operationId}}}' {
            $ret = Invoke-PetApiGetPetById{{#allParams}} -{{{paramName}}} "TEST_VALUE"{{/allParams}}
            #$ret | Should BeOfType {{{packageName}}}.Model.ModelNameHere
            #$ret.property | Should Be 0
        }
    }

{{/operation}}
{{/operations}}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy