Closed VasiliyLysokobylko closed 8 years ago
The spec says:
The baseUri property's value MUST conform to the URI specification [RFC2396] or a Level 1 Template URI as defined in RFC 6570 [RFC6570].
In order to be able to document more versatile APIs, Level 2 templates should also be allowed, but only if the macro is the last piece in the URL
Example:
#%RAML 0.8 title: My Sample API /files{+path}: uriParameters: path: description: The full path to the desired file type: string example: /my/file
https://github.com/raml-org/raml-spec/issues/73
This is not related to parser
Why is this not related to the parser? I remember the old parser has been updated to support that, so its part of it. @petrochenko-pavel-a can you clarify
The spec says:
In order to be able to document more versatile APIs, Level 2 templates should also be allowed, but only if the macro is the last piece in the URL
Example: