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

Public API to return ErrorsResponse

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 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.

      Acceptance Criteria:

      Change all public API methods to return ErrorsResponse. In the event that a single error needs to be returned the ErrorsResponse will contain a single item.

      Out of Scope: 

      UI re-work.

      Additional Information: 

      See here for the discussion.

            manstis@redhat.com Michael Anstis
            manstis@redhat.com Michael Anstis
            Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: