Commit 8f0832b1 authored by bradburyr's avatar bradburyr
Browse files

Added missing request body when creating a new Provisioning Session, and...

Added missing request body when creating a new Provisioning Session, and various HTTP error response codes to accompany it.
parent f2ed32b2
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -31,6 +31,13 @@ paths:
    post:
      operationId: createProvisioningSession
      summary: 'Create a new Provisioning Session'
      requestBody:
        description: 'A JSON representation of a Provisioning Session.'
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProvisioningSession'
      responses:
        '201':
          description: 'Provisioning Session Created'
@@ -48,10 +55,14 @@ paths:
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401': # Unauthorized
          $ref: 'TS29571_CommonData.yaml#/components/responses/401'
        '411': # Length Required
          $ref: 'TS29571_CommonData.yaml#/components/responses/411'
        '413': # Payload Too Large: No request body allowed for this operation
          $ref: 'TS29571_CommonData.yaml#/components/responses/413'
        '414': # URI Too Long
          $ref: 'TS29571_CommonData.yaml#/components/responses/414'
        '415': # Unsupported Media Type
          $ref: 'TS29571_CommonData.yaml#/components/responses/415'
        '500': # Internal Server Error
          $ref: 'TS29571_CommonData.yaml#/components/responses/500'
        '503': # Service Unavailable