jdiegodcp / ramlfications

Python parser for RAML
https://ramlfications.readthedocs.org
Apache License 2.0
234 stars 50 forks source link

baseUri should not be required #123

Open ptxmac opened 7 years ago

ptxmac commented 7 years ago

According to the RAML spec (https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#base-uri-and-base-uri-parameters) the baseUri key is optional, but ramlfications validate fails if it is missing

jisoohan commented 7 years ago

+1

jstoiko commented 7 years ago

ramlfications does not support RAML 1.0 yet. RAML 0.8 specs say that baseUri is required after implementation.

ptxmac commented 7 years ago

Good point!

But that does mean ramlfications is targeting implemented API's, and not to develop new ones. Since this is a "Reference implementation", it would be nice to have it support for both.

jstoiko commented 7 years ago

Even better point!

There should be some sort of flag or option to set the level of strictness.