openBackhaul / AccessPlanningToolProxy

Interface towards the AutomatedLinkAcceptanceProxy implementation in LinkVis
Apache License 2.0
2 stars 4 forks source link

Remove headers in error response to LinkVis? #163

Closed openBackhaul closed 12 months ago

openBackhaul commented 1 year ago

If it would be decided in #162 to remove headers (x-correlator, exec-time, backend-time, life-cycle-state) from response to LinkVis, it should be removed from the error messages too.

Answers >2xx should reference a different response definition in the CommonComponents. instead of

    $ref: '#/components/responses/responseForErroredServiceRequests'

it should be

    $ref: '#/components/responses/responseForErroredOutOfDomainServiceRequests'

The responses section in the CommonComponents should be complemented by the following definition:

    responseForErroredOutOfDomainServiceRequests:
      description: 'Response in case of errored service requests from out of MW SDN domain'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/errorDescription'
openBackhaul commented 12 months ago

Changed in accordance with the MDIP.