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

Show the @context field on top of the request and response bodies for the...

Show the @context field on top of the request and response bodies for the Registry API operations for Context Source Registration and Context Source Discovery.
parent 7fc88baa
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -640,11 +640,11 @@ paths:
          application/json+ld:
          application/json+ld:
            schema:
            schema:
              allOf:
              allOf:
                - $ref: '#/components/schemas/CsourceRegistration'
                - type: object
                - type: object
                  properties:
                  properties:
                    '@context':
                    '@context':
                      $ref:  '#/components/schemas/LdContext'
                      $ref:  '#/components/schemas/LdContext'
                - $ref: '#/components/schemas/CsourceRegistration'
                - required:
                - required:
                  - type
                  - type
                  - information
                  - information
@@ -739,11 +739,11 @@ paths:
                type: array
                type: array
                items:
                items:
                  allOf:
                  allOf:
                    - $ref: '#/components/schemas/CsourceRegistration'
                    - type: object
                    - type: object
                      properties:
                      properties:
                        '@context':
                        '@context':
                          $ref:  '#/components/schemas/LdContext'
                          $ref:  '#/components/schemas/LdContext'
                    - $ref: '#/components/schemas/CsourceRegistration'
                    - required:
                    - required:
                      - id
                      - id
                      - type
                      - type
@@ -791,11 +791,11 @@ paths:
            application/json+ld:
            application/json+ld:
              schema:
              schema:
                allOf:
                allOf:
                  - $ref: '#/components/schemas/CsourceRegistration'
                  - type: object
                  - type: object
                    properties:
                    properties:
                      '@context':
                      '@context':
                        $ref:  '#/components/schemas/LdContext'
                        $ref:  '#/components/schemas/LdContext'
                  - $ref: '#/components/schemas/CsourceRegistration'
                  - required:
                  - required:
                    - id
                    - id
                    - type
                    - type
@@ -841,11 +841,11 @@ paths:
          application/json+ld:
          application/json+ld:
            schema:
            schema:
              allOf:
              allOf:
                - $ref: '#/components/schemas/CsourceRegistration'
                - type: object
                - type: object
                  properties:
                  properties:
                    '@context':
                    '@context':
                      $ref:  '#/components/schemas/LdContext'
                      $ref:  '#/components/schemas/LdContext'
                - $ref: '#/components/schemas/CsourceRegistration'
                - required:
                - required:
                  - '@context'
                  - '@context'
      responses:
      responses:
@@ -4335,7 +4335,7 @@ components:
        - georel
        - georel
    KeyValuePair:
    KeyValuePair:
      description: |
      description: |
        5.2.22 represents the optional information that is required when contacting an endpoint for notifications.
        5.2.22 This datatype represents the optional information that is required when contacting an endpoint for notifications.
      type: object
      type: object
      properties:
      properties:
        key:
        key: