Commit 8fb49f43 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed api versions endpoints 405 return code

parent 10af6d18
Loading
Loading
Loading
Loading
Loading
+26 −2
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ endpoints:
        401: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/401' }
        403: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/403' }
        404: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/404' }
        405: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/405' }
        406: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/406' }
        413: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/413' }
        414: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/414' }
@@ -49,3 +48,28 @@ endpoints:
        500: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/500' }
        503: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/503' }
        504: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/504' }

    post:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall
        return a "405 Method Not Allowed" response
      responses:
        405: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/405' }
    put:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall
        return a "405 Method Not Allowed" response
      responses:
        405: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/405' }
    patch:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall
        return a "405 Method Not Allowed" response
      responses:
        405: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/405' }
    delete:
      description: >
        This method is not supported. When this method is requested on this resource, the API producer shall
        return a "405 Method Not Allowed" response
      responses:
        405: { $ref: '../responses/SOL002SOL003_resp.yaml#/responses/405' }
 No newline at end of file