Commit 2f55b363 authored by Marco Cavalli's avatar Marco Cavalli
Browse files

Refactor error response descriptions in ngsi-ld-api.yaml

parent fdb7e67c
Loading
Loading
Loading
Loading
+22 −4
Original line number Diff line number Diff line
@@ -2580,9 +2580,19 @@ paths:
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          allOf:
            $ref: '#/components/responses/NotFound'
          description: |
            It is used when a client provided an
            @context identifier not known to the
            system, see clause 6.3.2. 
        '422':
          allOf:
            $ref: '#/components/responses/Unprocessable'
          description: |
            It is used when a client indicated an
            @context of type "Cached", see
            clause 6.3.2. 
    delete:
      tags:
        - JSON-LD Context API
@@ -2615,9 +2625,17 @@ paths:
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          allOf:
            $ref: '#/components/responses/NotFound'
          description: |
            It is used when a client provided an
            @context identifier not known to the
            system, see clause 6.3.2. 
        '503':
          allOf:
            $ref: '#/components/responses/ServiceUnavailable'
          description: |
            It is used when re-downloading fails. 

components:
  headers: