Commit f788ed29 authored by daniel-gonzalez-sanchez's avatar daniel-gonzalez-sanchez
Browse files

Removing SubscriptionFragment Request Body and reusing Subscription Request Body.

parent db293d24
Loading
Loading
Loading
Loading
+2 −17
Original line number Diff line number Diff line
@@ -1057,7 +1057,7 @@ paths:
      requestBody:
        description: |
          Subscription Fragment including id, type and any other subscription field to be changed.
        $ref: '#/components/requestBodies/SubscriptionFragment'
        $ref: '#/components/requestBodies/Subscription'
      responses:
        '204':
          description: |
@@ -1276,7 +1276,7 @@ paths:
        description: |
          Subscription Fragment including id, type and any other context
          source registration subscription field to be changed.
        $ref: '#/components/requestBodies/SubscriptionFragment'
        $ref: '#/components/requestBodies/Subscription'
      responses:
        '204':
          description: |
@@ -3282,21 +3282,6 @@ components:
                - type
                - entities
                - '@context'
    SubscriptionFragment:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Subscription'
        application/json+ld:
          schema:
            allOf:
              - $ref: '#/components/schemas/Subscription'
              - type: object
                properties:
                  '@context':
                    $ref:  '#/components/schemas/LdContext'
              - required:
                - '@context'
  schemas:
    AnyValue:
      description: Any JSON value as defined by IETF RFC 8259.