bluth icon indicating copy to clipboard operation
bluth copied to clipboard

Unable to find endpoint where action has URI template

Open matt-oakes opened this issue 10 years ago • 0 comments

An error is returned when trying to validate with an endpoint that matches a URI template on an action.

Example API Blueprint:

## ribot [/ribots]

### Retrieve authenticated ribot [GET /ribots/me?embed=checkins]

    SNIP

### Retrieve ribot collection [GET /ribots]

    SNIP

### Retrieve single ribot [GET /ribots/{ribotId}?embed=checkins]

    SNIP

If you try and match on a URI like /ribots/me it will error. It needs to search the ast for actions inside each resourceGroup which have matching attributes.uriTemplate properties.

matt-oakes avatar Sep 30 '15 14:09 matt-oakes