Uploaded image for project: 'Red Hat OpenBridge'
  1. Red Hat OpenBridge
  2. MGDOBR-898

UI: Public API returns ErrorsResponse

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • None
    • False
    • MGDOBR - Sprint 221

      Issue Description: 

      Validation within RHOSE's public API endpoints has the potential to return multiple errors. For this reason we worked on support for a ErrorsResponse. However the methods themselves still have the potential to return a single ErrorResponse object. This makes defining rhose-api.yaml compliant with AppServices impossible as a single response type must be defined.

      The backend is being refactored to return ErrorsReponse in all cases. The UI will need modification to expect the same.

      Acceptance Criteria:

      UI changes to support the new response structure.

      Out of Scope: 

      Backend re-work.

      Additional Information: 

      See here for the discussion.

            vpellegr Valentino Pellegrino (Inactive)
            manstis@redhat.com Michael Anstis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: