PSSwagger – Automatically generate PowerShell cmdlets from OpenAPI (f.k.a Swagger) specification

Manik

August 15th, 2017

As a PowerShell enthusiast or DevOps professional, have you ever thought of having a tool that automatically generates PowerShell cmdlets to manage or access a RESTful Web Service? We are happy to share PSSwagger – the PowerShell Cmdlet generator for OpenAPI based web services. At PowerShell Conference Europe 2017, Jeffrey first showcased PSSwagger, and today we are open-sourcing the PSSwagger module and releasing its preview version to the PowerShell Gallery!

Some of the benefits of PSSwagger are: • One module that works cross-platform – generated modules supports both PowerShell Core and Windows PowerShell 5.1. • Consistent user experience – the generated PowerShell commands automatically follow the PowerShell cmdlet guidelines and best practices. • Get additional features for free – paging and asynchronous execution of long running operations. • Web Service owners can minimize the effort to author PowerShell commands to manage or access their web service. • Ability to load multiple different versions of a generated module into the same process.

Please refer to the PSSwagger Readme for more details on installing and using it. You can start using and contributing to PSSwagger today. For any questions or feedback, please let us know on the PSSwagger GitHub or Gitter Channel.

Looking forward!! PowerShell team