Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-4487

new fields added for ApplicationManifestQuery do not show up in swagger

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • ArgoCD
    • None
    • GitOps Tangerine - Sprint 2255

      Description of problem:

      The new field `revisionSourceMappings` added to `ApplicationManifestQuery` does not show up on the swagger-ui. The application.proto still uses `proto2`, thus `openapigen` ignores map fields while creating a swagger document.

      As a fix, we replace map with 2 arrays in the `ApplicationManifestQuery` object.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

       # <steps>

       

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

            isequeir@redhat.com Ishita Sequeira
            isequeir@redhat.com Ishita Sequeira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: