Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use real root filename as theoretical root yaml file #322

Merged
merged 6 commits into from
Sep 9, 2024

Commits on Aug 28, 2024

  1. Instead of using "root.yaml" as a theoretical root, use the real file…

    …name of the root spec (often openapi.yaml). This fixes issues with resolving references in rules such as unsused-components.
    Calvin Lobo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5dcdcda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc413a1 View commit details
    Browse the repository at this point in the history
  3. Set indexConfig.SpecAbsolutePath to "root.yaml" (theoretical root) wh…

    …en the spec's root does not exist on the filesystem (either read from remote URL or []byte)
    Calvin Lobo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    eb7e09a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e4a49c0 View commit details
    Browse the repository at this point in the history
  5. Fixed other references to "root.yaml"

    Calvin Lobo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    f55c151 View commit details
    Browse the repository at this point in the history
  6. Added more docstrings

    Calvin Lobo committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    839af44 View commit details
    Browse the repository at this point in the history