Commit 57414359 authored by Jesus de Gregorio's avatar Jesus de Gregorio
Browse files

CT#90 + Temporary fix to pass the validator

parent b30b3abd
Loading
Loading
Loading
Loading
+274 −17
Original line number Diff line number Diff line
openapi: 3.0.0

info:
  version: '1.1.1'
  version: '1.1.2'
  title: 'NSSF NSSAI Availability'
  description: |
    NSSF NSSAI Availability Service.
@@ -18,7 +18,7 @@ servers:
        default: https://example.com
        description: apiRoot as defined in clause 4.4 of 3GPP TS 29.501
externalDocs:
  description: 3GPP TS 29.531 V16.4.0; 5G System; Network Slice Selection Services; Stage 3
  description: 3GPP TS 29.531 V16.5.0; 5G System; Network Slice Selection Services; Stage 3
  url: http://www.3gpp.org/ftp/Specs/archive/29_series/29.531/
paths:
  /nssai-availability/{nfId}:
@@ -69,6 +69,38 @@ paths:
                type: string
        '204':
          description: No Content (No supported slices after Successful update)
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -141,6 +173,38 @@ paths:
                type: string
        '204':
          description: No Content (No supported slices after Successful update)
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -183,6 +247,38 @@ paths:
      responses:
        '204':
          description: No Content (Successful deletion of SNSSAI information per TA)
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -244,6 +340,38 @@ paths:
                      description: Accept-Encoding, described in IETF RFC 7694
                      schema:
                        type: string
                '307':
                  description: temporary redirect
                  content:
                    application/problem+json:
                      schema:
                        $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
                  headers:
                    Location:
                      description: 'An alternative URI of the NF service consumer to which the notification should be sent'
                      required: true
                      schema:
                        type: string
                    3gpp-Sbi-Target-Nf-Id:
                      description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
                      schema:
                        type: string
                '308':
                  description: permanent redirect
                  content:
                    application/problem+json:
                      schema:
                        $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
                  headers:
                    Location:
                      description: 'An alternative URI of the NF service consumer to which the notification should be sent '
                      required: true
                      schema:
                        type: string
                    3gpp-Sbi-Target-Nf-Id:
                      description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
                      schema:
                        type: string
                '400':
                  $ref: 'TS29571_CommonData.yaml#/components/responses/400'
                '411':
@@ -279,6 +407,38 @@ paths:
              description: Content-Encoding, described in IETF RFC 7231
              schema:
                type: string
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -320,6 +480,38 @@ paths:
      responses:
        '204':
          description: No Content (Successful deletion of subscription for NSSAI Availability notification)
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -362,6 +554,7 @@ paths:
            schema:
              $ref: '#/components/schemas/PatchDocument'

      # Temporary fix to correct wrong indentation of "responses" 
      responses:
        '200':
          description: OK (Successful update of NSSAI availability notification subscription)
@@ -374,6 +567,38 @@ paths:
              description: Content-Encoding, described in IETF RFC 7231
              schema:
                type: string
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -411,6 +636,38 @@ paths:
              description: Accept-Encoding, described in IETF RFC 7694
              schema:
                type: string
        '307':
          description: temporary redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '308':
          description: permanent redirect
          content:
            application/problem+json:
              schema:
                $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
          headers:
            Location:
              description: 'An alternative URI of the resource located on an alternative service instance within the same NSSF or NSSF (service) set'
              required: true
              schema:
                type: string
            3gpp-Sbi-Target-Nf-Id:
              description: ' Identifier of the target NF (service) instance ID towards which the request is redirected'
              schema:
                type: string
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
+4 −3
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ paths:
          application/json:
            schema:
              type: array
              # Temporary fix to correct wrong indentation of "items"
              items:
                $ref: '#/components/schemas/ApplicationForPfdRequest'
              minItems: 1