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.
- Install the package
npm install swaggerui-snippets --save
- Add the minified file in dist folder to your Swagger Ui page
- Clone this project
- npm install
- webpack
That's it.
- CSharp with RestSharp Client
- JavaScript / JQuery
- php
- Ruby
- NodeJs
- Git Repository
- Demo in C# and Swashbuckle in available
- Thanks to Swagger Snippets
- Thanks to highlight.js