1.0.0 • Published 6 years ago
swagger-path v1.0.0
Swagger-Path
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
1.0.0
6 years ago