ramllint
ramllint copied to clipboard
[url_lower] multi-level routes false positive
error https://acme.com/v1/users/activate/{token}
RAML section (resource) relativeUri violates: only lowercase letters and underscores allowed [url_lower]
This error occurs given such RAML:
# main.raml
/users: !include resources/users.raml
# users.raml
/activate/{token}:
# ... here definitions
It disappears when I changed the users.raml
to:
# users.raml
/activate:
/{token}:
# ... here definitions
This is a false-positive, as /activate
is not a resource on it's own. It's always /activate/{token}
.