Commit 461f67c7 authored by bradburyr's avatar bradburyr
Browse files

Removed HTTP 409 (Conflict) response code from destroy (DELETE) operation...

Removed HTTP 409 (Conflict) response code from destroy (DELETE) operation since this resource is never referenced by any other in the Maf_Provisioning API.
parent 84ad3b0d
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
@@ -60,6 +60,8 @@ paths:
                $ref: '#/components/schemas/PolicyTemplate'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401': # Unauthorized
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '411': # Length Required
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '413': # Payload Too Large
@@ -101,6 +103,8 @@ paths:
                $ref: '#/components/schemas/PolicyTemplate'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401': # Unauthorized
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '404': # Not Found
          $ref: 'TS29571_CommonData.yaml#/components/responses/404'
        '410': # Gone: Resource no longer exists
@@ -134,6 +138,10 @@ paths:
                $ref: '#/components/schemas/PolicyTemplate'
        '204': # No Content
          description: 'Policy Template Unchanged'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401': # Unauthorized
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '403': # Forbidden
          $ref: 'TS29571_CommonData.yaml#/components/responses/403'
        '404': # Not Found
@@ -176,6 +184,10 @@ paths:
                $ref: '#/components/schemas/PolicyTemplate'
        '204': # No Content
          description: 'Policy Template Unchanged'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401': # Unauthorized
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '403': # Forbidden
          $ref: 'TS29571_CommonData.yaml#/components/responses/403'
        '404': # Not Found
@@ -203,10 +215,10 @@ paths:
          description: 'Policy Template Destroyed'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401': # Unauthorized
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '404': # Not Found
          $ref: 'TS29571_CommonData.yaml#/components/responses/404'
        '409': # Conflict: Resource still referenced by another
          $ref: 'TS29571_CommonData.yaml#/components/responses/409'
        '410': # Gone: Resource no longer exists
          $ref: 'TS29571_CommonData.yaml#/components/responses/410'
        '413': # Payload Too Large: No request body allowed for this operation