ramllint icon indicating copy to clipboard operation
ramllint copied to clipboard

[url_lower] multi-level routes false positive

Open ioleo opened this issue 7 years ago • 1 comments

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}.

ioleo avatar Jan 27 '17 06:01 ioleo