Closed fge closed 8 years ago
Also, section 5.1.2: path
is in fact a URI Template, as defined by RFC 6570; the only template used is a level 1 expression type as defined in section 1.2 of the URI.
Code wise, Guava has UrlEscapers.urlPathSegmentEscaper()
which can perform appropriate escaping for such templates. Exploiting URI templates fully requires more than that, of course.
Thanks for the notes - we're not going to make changes to the older specs now.
Link: https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md
http
."file
are also valid URLs after all ;)