Skip to content

No --raw flag recognized for openapi:validate command #1033

Open
@Try431

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!

Metadata

Assignees

No one assigned

    Labels

    command:openapiIssues pertaining to the `openapi`, `validate`, `reduce`, or `swagger` commandsquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions