Commit 7ddc9f46 authored by bradburyr's avatar bradburyr
Browse files

409 (Conflict) replaces 405 (Method Not Allowed) when attempting to create a...

409 (Conflict) replaces 405 (Method Not Allowed) when attempting to create a resource that already exists.
parent 29ab85c2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -77,6 +77,8 @@ paths:
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '405': # Method Not Allowed: Content Hosting Configuration resource already exists at the specified path
          $ref: 'TS29571_CommonData.yaml#/components/responses/405'
        '409': # Conflict: Resource already exists
          $ref: 'TS29571_CommonData.yaml#/components/responses/409'
        '410': # Gone: This resource has previously been destroyed
          $ref: 'TS29571_CommonData.yaml#/components/responses/410'
        '411': # Length Required
+2 −2
Original line number Diff line number Diff line
@@ -76,8 +76,8 @@ paths:
                $ref: 'TS26510_CommonData.yaml#/components/schemas/AbsoluteUrl'
        '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'
        '405': # Method Not Allowed: Content Preparation Template resource already exists at the specified path
          $ref: 'TS29571_CommonData.yaml#/components/responses/405'
        '409': # Conflict: Resource already exists
          $ref: 'TS29571_CommonData.yaml#/components/responses/409'
        '410': # Gone: This resource has previously been destroyed
          $ref: 'TS29571_CommonData.yaml#/components/responses/410'
        '411': # Length Required
+2 −2
Original line number Diff line number Diff line
@@ -75,8 +75,8 @@ paths:
                $ref: 'TS26510_CommonData.yaml#/components/schemas/Url'
        '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'
        '405': # Method Not Allowed: Server Certificate resource already exists at the specified path
          $ref: 'TS29571_CommonData.yaml#/components/responses/405'
        '409': # Conflict: Resource already exists
          $ref: 'TS29571_CommonData.yaml#/components/responses/409'
        '410': # Gone: This resource has previously been destroyed
          $ref: 'TS29571_CommonData.yaml#/components/responses/410'
        '411': # Length Required