swaggerui-snippets
v1.0.1
Published
Code Snippets for Swagger UI
Downloads
40
Maintainers
Readme
Code Snippets for Swagger UI
Introduction
This package adds the ability to show code snippets with in Swagger UI. All you need is to include minified file in dist in your project and render it in Swagger UI page.
Getting Started
- Install the package
npm install swaggerui-snippets --save
- Add the minified file in dist folder to your Swagger Ui page
Steps to build distributable minified file
- Clone this project
- npm install
- webpack
That's it.
Languages Supported
- CSharp with RestSharp Client
- JavaScript / JQuery
- php
- Ruby
- NodeJs
Important
- Git Repository
- Demo in C# and Swashbuckle in available
- Thanks to Swagger Snippets
- Thanks to highlight.js