Skip to content

Ignoring Validation on certain lines #282

@payros

Description

@payros

Is there a way to ignore validation on certain lines, similar to Yaml lint's: "Disable with comments" feature?

My specific issue is that I'm using the open-api in conjunction with a Cloud Formation and I'm calling Fn:Sub to replace some values with strings before deployment. That produces an "Incorrect Type" error, as the schema expects a string.

Screen Shot 2024-09-20 at 9 11 30 AM

The validation works well for the rest of the file, but it would be great if there was a way to ignore these two errors.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions