|
| 1 | +# PSOpenAPITools - the PowerShell module for the Echo Server API |
| 2 | + |
| 3 | +Echo Server API |
| 4 | + |
| 5 | +This PowerShell module is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: |
| 6 | + |
| 7 | +- API version: 0.1.0 |
| 8 | +- SDK version: 0.1.2 |
| 9 | +- Build package: org.openapitools.codegen.languages.PowerShellClientCodegen |
| 10 | + |
| 11 | +<a id="frameworks-supported"></a> |
| 12 | +## Frameworks supported |
| 13 | +- PowerShell 6.2 or later |
| 14 | + |
| 15 | +<a id="dependencies"></a> |
| 16 | +## Dependencies |
| 17 | + |
| 18 | +<a id="installation"></a> |
| 19 | +## Installation |
| 20 | + |
| 21 | + |
| 22 | +To install from the source, run the following command to build and install the PowerShell module locally: |
| 23 | +```powershell |
| 24 | +Build.ps1 |
| 25 | +Import-Module -Name '.\src\PSOpenAPITools' -Verbose |
| 26 | +``` |
| 27 | + |
| 28 | +To avoid function name collision, one can use `-Prefix`, e.g. `Import-Module -Name '.\src\PSOpenAPITools' -Prefix prefix` |
| 29 | + |
| 30 | +To uninstall the module, simply run: |
| 31 | +```powershell |
| 32 | +Remove-Module -FullyQualifiedName @{ModuleName = "PSOpenAPITools"; ModuleVersion = "0.1.2"} |
| 33 | +``` |
| 34 | + |
| 35 | +<a id="tests"></a> |
| 36 | +## Tests |
| 37 | + |
| 38 | +To install and run `Pester`, please execute the following commands in the terminal: |
| 39 | + |
| 40 | +```powershell |
| 41 | +Install-module -name Pester -force |
| 42 | +
|
| 43 | +Invoke-Pester |
| 44 | +``` |
| 45 | + |
| 46 | +For troubleshooting, please run `$DebugPreference = 'Continue'` to turn on debugging and disable it with `$DebugPreference = 'SilentlyContinue'` when done with the troubleshooting. |
| 47 | + |
| 48 | +## Documentation for API Endpoints |
| 49 | + |
| 50 | +All URIs are relative to *http://localhost:3000* |
| 51 | + |
| 52 | +Class | Method | HTTP request | Description |
| 53 | +------------ | ------------- | ------------- | ------------- |
| 54 | +*AuthApi* | [**Test-AuthHttpBasic**](docs/AuthApi.md#Test-AuthHttpBasic) | **POST** /auth/http/basic | To test HTTP basic authentication |
| 55 | +*BodyApi* | [**Test-BinaryGif**](docs/BodyApi.md#Test-BinaryGif) | **POST** /binary/gif | Test binary (gif) response body |
| 56 | +*BodyApi* | [**Test-BodyApplicationOctetstreamBinary**](docs/BodyApi.md#Test-BodyApplicationOctetstreamBinary) | **POST** /body/application/octetstream/binary | Test body parameter(s) |
| 57 | +*BodyApi* | [**Test-BodyMultipartFormdataArrayOfBinary**](docs/BodyApi.md#Test-BodyMultipartFormdataArrayOfBinary) | **POST** /body/application/octetstream/array_of_binary | Test array of binary in multipart mime |
| 58 | +*BodyApi* | [**Test-EchoBodyFreeFormObjectResponseString**](docs/BodyApi.md#Test-EchoBodyFreeFormObjectResponseString) | **POST** /echo/body/FreeFormObject/response_string | Test free form object |
| 59 | +*BodyApi* | [**Test-EchoBodyPet**](docs/BodyApi.md#Test-EchoBodyPet) | **POST** /echo/body/Pet | Test body parameter(s) |
| 60 | +*BodyApi* | [**Test-EchoBodyPetResponseString**](docs/BodyApi.md#Test-EchoBodyPetResponseString) | **POST** /echo/body/Pet/response_string | Test empty response body |
| 61 | +*BodyApi* | [**Test-EchoBodyTagResponseString**](docs/BodyApi.md#Test-EchoBodyTagResponseString) | **POST** /echo/body/Tag/response_string | Test empty json (request body) |
| 62 | +*BodyApi* | [**Test-EchoBodyAllOfPet**](docs/BodyApi.md#Test-EchoBodyAllOfPet) | **POST** /echo/body/allOf/Pet | Test body parameter(s) |
| 63 | +*FormApi* | [**Test-FormIntegerBooleanString**](docs/FormApi.md#Test-FormIntegerBooleanString) | **POST** /form/integer/boolean/string | Test form parameter(s) |
| 64 | +*FormApi* | [**Test-FormOneof**](docs/FormApi.md#Test-FormOneof) | **POST** /form/oneof | Test form parameter(s) for oneOf schema |
| 65 | +*HeaderApi* | [**Test-HeaderIntegerBooleanStringEnums**](docs/HeaderApi.md#Test-HeaderIntegerBooleanStringEnums) | **GET** /header/integer/boolean/string/enums | Test header parameter(s) |
| 66 | +*PathApi* | [**Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath**](docs/PathApi.md#Test-sPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath) | **GET** /path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path} | Test path parameter(s) |
| 67 | +*QueryApi* | [**Test-EnumRefString**](docs/QueryApi.md#Test-EnumRefString) | **GET** /query/enum_ref_string | Test query parameter(s) |
| 68 | +*QueryApi* | [**Test-QueryDatetimeDateString**](docs/QueryApi.md#Test-QueryDatetimeDateString) | **GET** /query/datetime/date/string | Test query parameter(s) |
| 69 | +*QueryApi* | [**Test-QueryIntegerBooleanString**](docs/QueryApi.md#Test-QueryIntegerBooleanString) | **GET** /query/integer/boolean/string | Test query parameter(s) |
| 70 | +*QueryApi* | [**Test-QueryStyleDeepObjectExplodeTrueObject**](docs/QueryApi.md#Test-QueryStyleDeepObjectExplodeTrueObject) | **GET** /query/style_deepObject/explode_true/object | Test query parameter(s) |
| 71 | +*QueryApi* | [**Test-QueryStyleDeepObjectExplodeTrueObjectAllOf**](docs/QueryApi.md#Test-QueryStyleDeepObjectExplodeTrueObjectAllOf) | **GET** /query/style_deepObject/explode_true/object/allOf | Test query parameter(s) |
| 72 | +*QueryApi* | [**Test-QueryStyleFormExplodeTrueArrayString**](docs/QueryApi.md#Test-QueryStyleFormExplodeTrueArrayString) | **GET** /query/style_form/explode_true/array_string | Test query parameter(s) |
| 73 | +*QueryApi* | [**Test-QueryStyleFormExplodeTrueObject**](docs/QueryApi.md#Test-QueryStyleFormExplodeTrueObject) | **GET** /query/style_form/explode_true/object | Test query parameter(s) |
| 74 | +*QueryApi* | [**Test-QueryStyleFormExplodeTrueObjectAllOf**](docs/QueryApi.md#Test-QueryStyleFormExplodeTrueObjectAllOf) | **GET** /query/style_form/explode_true/object/allOf | Test query parameter(s) |
| 75 | + |
| 76 | + |
| 77 | +## Documentation for Models |
| 78 | + |
| 79 | + - [PSOpenAPITools\Model.Bird](docs/Bird.md) |
| 80 | + - [PSOpenAPITools\Model.Category](docs/Category.md) |
| 81 | + - [PSOpenAPITools\Model.DataQuery](docs/DataQuery.md) |
| 82 | + - [PSOpenAPITools\Model.DefaultValue](docs/DefaultValue.md) |
| 83 | + - [PSOpenAPITools\Model.NumberPropertiesOnly](docs/NumberPropertiesOnly.md) |
| 84 | + - [PSOpenAPITools\Model.Pet](docs/Pet.md) |
| 85 | + - [PSOpenAPITools\Model.Query](docs/Query.md) |
| 86 | + - [PSOpenAPITools\Model.StringEnumRef](docs/StringEnumRef.md) |
| 87 | + - [PSOpenAPITools\Model.Tag](docs/Tag.md) |
| 88 | + - [PSOpenAPITools\Model.TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter](docs/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md) |
| 89 | + - [PSOpenAPITools\Model.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter](docs/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md) |
| 90 | + |
| 91 | + |
| 92 | +<a id="documentation-for-authorization"></a> |
| 93 | +## Documentation for Authorization |
| 94 | + |
| 95 | + |
| 96 | +Authentication schemes defined for the API: |
| 97 | +<a id="http_auth"></a> |
| 98 | +### http_auth |
| 99 | + |
| 100 | + |
| 101 | +- **Type**: HTTP basic authentication |
| 102 | + |
0 commit comments