jdiegodcp / ramlfications

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

Fix parse string #120

Open lwcolton opened 7 years ago

lwcolton commented 7 years ago

Documentation for ramlfications.parse() says that it allows either a file path to a raml doc or a raml doc as a string. This is incorrect, it only allows a file path and does not check to see if a complete raml doc as a string has been passed. This PR fixes that behavior and allows either a filepath or whole raml doc to be passed to parse()