Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-40424

Ensure openapi spec validation before commit/merge

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      Since the RBAC openapi specs are depended on by tenant clients, if there are errors or misconfigurations in the spec, it will prevent teams from generating new clients, which may ultimately block PR checks, etc.

      The team should consider adding a pre-commit hook [1] and/or something that runs as part of the PR check pipeline to at least validate the spec and check for regressions or breaking changes.

      [1] https://github.com/python-openapi/openapi-spec-validator

              Unassigned Unassigned
              kwalsh@redhat.com Keith Walsh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: