openapi-generator/samples/client/petstore/powershell/README.md
2017-08-07 15:41:30 +08:00

1.1 KiB

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;