README
keq-swagger-path
Convert swagger path to uri path.(eg. /user/{id} -> /user/:id)
Usage
import { request } from 'keq'
import swaggerPath from 'keq-swagger-path'
request.use(swaggerPath())
// Will send request to 'www.example.com/user/1'
request
.get('www.example.com/user/{id}')
.params('id', 1)
.end()
Sponsor
Support code development on patron.
Contributing & Development
If there is any doubt, it is very welcome to discuss the issue together. Please read Contributor Covenant Code of Conduct and CONTRIBUTING.