Commit 07c270a3 authored by lengyelb's avatar lengyelb
Browse files

alternative definition

parent acbcb3c9
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ info:
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.532; Generic management services
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.6532/
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.532/
paths: {}
components:
  schemas:
+60 −0
Original line number Diff line number Diff line
openapi: 3.0.1
info:
  title: Notification error notification
  version: 19.0.0
  description: >-
    OAS 3.0.1 definition of the Notification error notification
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.532; Fault Management
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.532/
servers:
  - url: '{notificationRecipientAddress}'
    variables:
      notificationRecipientAddress:
        description: Address on the MnS consumer side defined by NtfSubscriptionControl.notificationRecipientAddress. See 3GPP TS 28.622 clause 4.3.22
        default: http://exampleConsumer.com/notificationReceiver
      MnSversion:
        description: Version number of the OpenAPI definition
        default: XXX
paths:
  /:
    post:
      summary: Receive the Notification error notification
      description: >-
        The MnS producer sends a Notification error notification to the consumer. 
        This interface shall be implemented by the notification-receiver and 
        used by the notification-sender.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
                - $ref: 'TS28623_ComDefs.yaml#/components/schemas/NotificationHeader'
                - type: object
                  properties:
                    missedNotificationTypes:
                      type: array
                      uniqueItems: true
                      items:
                        $ref: 'TS28623_ComDefs.yaml#/components/schemas/NotificationType'                
      responses:
        '204':
          description: >-
            Success case ("204 No Content").
            The notification is successfully delivered. The response message
            body is absent.
        default:
          description: Error case.
          content:
            application/json:
              schema:
                $ref: 'TS28623_ComDefs.yaml#/components/schemas/ErrorResponse'
components:
  schemas:
    NotificationErrorNotificationTypes:
      type: string
      enum:
        - notifyNotificationError