swagger-path

1.0.0 • Public • Published

Swagger-PathBuild Status

designed to convert swagger path to uri path.

eg. /user/{id} -> /user/:id

Usage

npm install swagger-path

Example

const swagger2path = require('swagger-path');

const path = swagger2path('/users/{id}'); // '/users/:id'

License

Licensed under MIT-License

Readme

Keywords

Package Sidebar

Install

npm i swagger-path

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • coooody