-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
From the spec:
XXX How can non-placeholder :foo's be included in the path? i.e. is there an escape mechanism? XXX What happens in this example if 'format' isn't listed in params/required? XXX What happens if a parameter needs to be followed by a word character? i.e. can something like :{format}foo be used?
I would suggest using http://tools.ietf.org/html/rfc6570 URI-templates rather than the template format you use now. If you don't want to mandate a fully compliant implementation as part of SPORE, then "level 1" templates are extremely simple, (basically you replace :foo with {foo})
Tangentially, I'd appreciate your input over on anodejs/node-docrouter#1, it seems as though we all may be re-inventing the same wheels.
Metadata
Metadata
Assignees
Labels
No labels