openapi-generator/samples/client/petstore/powershell
2017-08-07 15:41:30 +08:00
..
.swagger-codegen [PowerShell] Add PowerShell API client generator (WIP) (#5789) 2017-06-20 22:20:05 +08:00
src/IO.Swagger remove old petstore powershell sample 2017-08-07 15:41:30 +08:00
test remove old petstore powershell sample 2017-08-07 15:41:30 +08:00
.swagger-codegen-ignore [PowerShell] Add PowerShell API client generator (WIP) (#5789) 2017-06-20 22:20:05 +08:00
Build.ps1 remove old petstore powershell sample 2017-08-07 15:41:30 +08:00
README.md remove old petstore powershell sample 2017-08-07 15:41:30 +08:00

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 or on irc.freenode.net, #swagger. 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 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

Frameworks supported

  • PowerShell 3.0 or later

Dependencies

  • C# API client generated by Swagger Codegen AND should be located in $ScriptDir....\petstore\csharp\SwaggerClient as stated in Build.ps1

Installation

Run the following command to generate the DLL

  • [Windows] Build.ps1

Then import module from the .\src\IO.Swagger folder:

using IO.Swagger.IO.Swagger/API;
using IO.Swagger.Client;
using IO.Swagger.IO.Swagger/Model;