#81: Improved path matching to support partial-part params

Merged
#61 · Created  · Last updated

Merged pull request

Merged in 81-path-param-with-extension-not-working (pull request #61)

deeedc6·Author: ·Closed by: ·2017-11-08

Description

The current implementation does path matching assuming that a path param occupies a whole path part, e.g. /foo/{param}/bar

This PR improves the matching to support params that are only part of a path part, e.g. /foo/{param}.json or /foo/{param1}-{param2}

I also split apart the concepts of NormalizedPath and ApiPath to pull all of the templating logic to where it should belong. This led to some simplification of the operation resolution logic.

0 attachments

0 comments

Loading commits...