Closed drnextgis closed 6 years ago
pyramid_apispec don't handle routes with regular expression. For example:
config.add_route('resource.item', '/api/resource/{id:\d+}')
Swagger UI produces the following curl:
curl -X DELETE "http://localhost:6544/api/resource/{id:\d+}" -H "accept: application/json"
Thanks, I'll look into this.
Can you try trunk version of the package, this should be now fixed.
It works! Thank you very much.
pyramid_apispec don't handle routes with regular expression. For example:
Swagger UI produces the following curl: