Skip to content

false positive invalid-ref #2909

@emakar

Description

@emakar

openapi 3.0.0

Description

We extensively use refs to files, and structure files into folders
with certain files structure when adding new refs an error starts occurring
the work around is to flatten directory structure

To Reproduce

Please run lint on project attached (sometimes second run needed)
spectral_ref_issue.zip

Environment:

  • Library version: cli 6.15.0
  • OS: macOS Tahoe 26.3.1, Ubuntu 22.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions