Juravenator / restify-json-hal

extends restify with JSON HAL
Apache License 2.0
3 stars 0 forks source link

Regex support #4

Open Juravenator opened 7 years ago

Juravenator commented 7 years ago

Restify supports defining a path using regular expressions (http://restify.com/#routing).

Restify-json-hal currently assumes all paths are defined using a string (e.g. "/my/path")

Juravenator commented 7 years ago

1 solved the issue where any regex path would crash the whole server (!)

Juravenator commented 7 years ago

basic support added in branch. but need to check with the JSON-HAL spec and the URI Template spec on how to make the output spec compliant.

Juravenator commented 7 years ago

merged branch 4-regex-support with master