thebinarypenguin / raml-cop

Command line RAML validator
MIT License
29 stars 7 forks source link

Output RAML #4

Closed abreksa4 closed 8 years ago

abreksa4 commented 8 years ago

Is it possible to output RAML as well as JSON, in order to generate a single RAML file with external files, such as schema and examples?

thebinarypenguin commented 8 years ago

No.

RAML Cop is a simple CLI wrapper around raml-org/raml-js-parser. It is designed to be used as a "linter" and nothing more. The only reason the "output JSON" option exists is because the underlying parser has that option and I figured I'd expose it via RAML Cop as well (even if it doesn't seem very useful)

abreksa4 commented 8 years ago

Good to know, I figured that was case.

Thanks

-Andrew Breksa On Apr 15, 2016 20:00, "Ethan Zimmerman" notifications@github.com wrote:

No.

RAML Cop is a simple CLI wrapper around raml-org/raml-js-parser https://github.com/raml-org/raml-js-parser. It is designed to be used as a "linter" and nothing more. The only reason the "output JSON" option exists is because the underlying parser has that option and I figured I'd expose it via RAML Cop as well (even if it doesn't seem very useful)

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/thebinarypenguin/raml-cop/issues/4#issuecomment-210723586