openapi-generator/samples/client/petstore/powershell
Jérémie Bresson 7ecd5f3566
Rename "swagger" to "openapi" (#191)
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
..
.openapi-generator Rename "swagger" to "openapi" (#191) 2018-04-22 21:28:17 +02:00
src/IO.Swagger Add OpenAPI spec 3.0 support (beta) 2018-04-17 09:19:10 +02:00
test remove old petstore powershell sample 2017-08-07 15:41:30 +08:00
.openapi-generator-ignore Rename "swagger" to "openapi" (#191) 2018-04-22 21:28:17 +02:00
Build.ps1 remove old petstore powershell sample 2017-08-07 15:41:30 +08:00
README.md Add OpenAPI spec 3.0 support (beta) 2018-04-17 09:19:10 +02: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: 2018-04-12T00:40:01.530+08:00
  • Build package: org.openapitools.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;