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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i swagger-path

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • coooody