This repository was archived by the owner on Sep 27, 2019. It is now read-only.
v0.2.0 - First preview release
Pre-release
Pre-release
First preview release of PSSwagger and PSSwaggerUtility modules. While the goal is to support all web APIs, scenarios are focused on Microsoft Azure for this first release.
Supported Scenarios
- From an Open API v2 specification, generate a PowerShell module using Azure AutoRest
- Generating modules is only supported on PowerShell 5.1
- Customize the generation process with Open API v2 extensions in either the same specification as your web API or a separate file
- Rename automatically generated cmdlets
- Flatten complex parameters without flattening the underlying .NET API
- Generated modules support PowerShell on Windows (PowerShell 4 or greater) or PowerShell Core on Windows, Linux or Mac
- Compile the underlying .NET API before you publish your module or compile it on-the-fly on your end-user's machine
- Debugging symbols for underlying .NET API available
- Currently supported authentication schemes:
- Basic authentication, with or without challenge
- API key based authentication
- No authentication
- Authentication using AzureRM.Profile
Installation
Open PowerShell and run:
Install-Package PSSwagger
Or visit our PowerShellGallery.com page: Here