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

Invalid hierarchy of x-kuadrant field #142

Open
leathersole opened this issue Oct 23, 2024 · 0 comments
Open

Invalid hierarchy of x-kuadrant field #142

leathersole opened this issue Oct 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@leathersole
Copy link

leathersole commented Oct 23, 2024

In this OpenAPI example and another example , first x-kuadrant fields must be root level. These files are referred from this document.

Current:

---
openapi: "3.1.0"
info:
  title: "Pet Store API"
  version: "1.0.0"
  x-kuadrant:
    route:
      name: "toystore"
      namespace: $devNS
      hostnames:
        - toystore.$rootDomain
      parentRefs:
        - name: $gatewayName
          namespace: $gatewayNS

Must be:

---
openapi: "3.1.0"
info:
  title: "Pet Store API"
  version: "1.0.0"
x-kuadrant:
  route:
    name: "toystore"
    namespace: $devNS
    hostnames:
      - toystore.$rootDomain
    parentRefs:
      - name: $gatewayName
        namespace: $gatewayNS
@jasonmadigan jasonmadigan added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants