-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Description
Hi,
I'm trying to build a Cornice service which should accept an optional path parameter, so I followed Pyramid guidelines and set path as "/api/rest/doc/{doc_id}{version:.*}
".
But then:
- when defined,
request.matchdict['version']
is set to "/1
" (for example), instead of just "1
", as described in Pyramid documentation; - when using Swagger extension, I only see a single parameter called "
doc_id}{version
"!
So is this syntax supported by Cornice, or should I handle it in another way?
Best regards,
Thierry
Metadata
Metadata
Assignees
Labels
No labels