No --raw
flag recognized for openapi:validate
command #1033
Open
Description
The docs specify that passing in a --raw
flag to any of the openapi
commands should yield the result in a JSON object, so that the commands can be used in a script. However, at least as of v8.6.6 (which is what I'm on), I only get an error:
$ npx rdme@v8 openapi:validate swagger.yaml --raw
Unknown option: --raw
Is this a bug, or should the documentation be updated to clarify that openapi:validate
can't be used programmatically? It'd be really helpful to be able to check the output before syncing a newly-generated swagger doc in our CI.
Thanks!