mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# IO.Swagger - the PowerShell module for the Swagger Petstore
|
|
|
|
This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
|
|
This PowerShell module is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
|
|
- API version: 1.0.0
|
|
- SDK version:
|
|
- Build date: 2017-06-20T22:49:00.415+08:00
|
|
- Build package: io.swagger.codegen.languages.PowerShellClientCodegen
|
|
|
|
<a name="frameworks-supported"></a>
|
|
## Frameworks supported
|
|
- PowerShell 3.0 or later
|
|
|
|
<a name="dependencies"></a>
|
|
## Dependencies
|
|
- C# API client generated by Swagger Codegen AND should be located in $ScriptDir\..\..\petstore\csharp\SwaggerClient as stated in Build.ps1
|
|
|
|
<a name="installation"></a>
|
|
## Installation
|
|
Run the following command to generate the DLL
|
|
- [Windows] `Build.ps1`
|
|
|
|
Then import module from the .\src\IO.Swagger folder:
|
|
```powershell
|
|
using IO.Swagger.IO.Swagger/API;
|
|
using IO.Swagger.Client;
|
|
using IO.Swagger.IO.Swagger/Model;
|
|
```
|
|
|