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

Including minor changes: 1) Adding the deprecated: true tag within the schemas...

Including minor changes: 1) Adding the deprecated: true tag within the schemas and properties of some deprecated parameters; 2) Fixing the required properties for EntityMap and ContextSourceIdentity schemas and the body requests and reponses for the related endpoint operations.
parent be8fadc8
Loading
Loading
Loading
Loading
+16 −19
Original line number Diff line number Diff line
@@ -140,8 +140,8 @@ paths:
            If an EntityMap has been requested, the HTTP response shall include an "NGSILDEntityMap" HTTP 
            header that contains the resource URI of the EntityMap resource used in the operation.
          headers:
            NGSILD-EntityMap:
              $ref: '#/components/headers/NGSILD-EntityMap'
            #NGSILD-EntityMap:
            #  $ref: '#/components/headers/NGSILD-EntityMap'
            NGSILD-Results-Count:
              $ref: '#/components/headers/NGSILD-Results-Count'
            NGSILD-Tenant:
@@ -2739,7 +2739,8 @@ paths:
                allOf:
                  - $ref: '#/components/schemas/EntityMap'
                  - required:
                    - type
                    - entityMap
                    - linkedMaps
            application/json+ld:
              schema:
                allOf:
@@ -2749,7 +2750,8 @@ paths:
                        $ref:  '#/components/schemas/LdContext'
                  - $ref: '#/components/schemas/EntityMap'
                  - required:
                      - type
                    - entityMap
                    - linkedMaps
                    - '@context'
        '400':
          $ref: '#/components/responses/BadRequest'
@@ -2858,12 +2860,6 @@ paths:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ContextSourceIdentity'
                  - required:
                    - id
                    - type
                    - contextSourceUpTime
                    - contextSourceTimeAt
                    - contextSourceAlias
            application/json+ld:
              schema:
                allOf:
@@ -2873,11 +2869,6 @@ paths:
                        $ref:  '#/components/schemas/LdContext'
                  - $ref: '#/components/schemas/ContextSourceIdentity'
                  - required:
                      - id
                      - type
                      - contextSourceUpTime
                      - contextSourceTimeAt
                      - contextSourceAlias
                      - '@context'
        '501':
          $ref: '#/components/responses/NotImplemented'
@@ -3068,7 +3059,7 @@ components:
        have any of the Attributes in attrs, then a 404 Not Found shall be retrieved. If attrs is not
        specified, no matching is performed and all Attributes related to the Entity shall be retrieved.

        A synonym for a combination of the pick and q parameters. Deprecated
        A synonym for a combination of the pick and q parameters. DEPRECATED.
        Each String is an Attribute (Property or Relationship) name.
      style: form
      explode: false
@@ -3077,6 +3068,7 @@ components:
        items:
          type: string
      required: false
      deprecated: true
    Query.containedBy:
      name: containedBy
      in: query
@@ -3705,6 +3697,7 @@ components:
        - concise
        - keyValues
        - simplified
      deprecated: true
    options.sysAttrs:
      description: | 
        6.3.11 Including system generated attributes.
@@ -3734,6 +3727,7 @@ components:
      enum:
        - temporalValues
        - aggregatedValues
      deprecated: true
    options.upsert:
      description: |
        6.15.3 Upsert configuration.
@@ -5116,11 +5110,13 @@ components:
          description: |
            Entity Attribute Names (Properties or Relationships) to be included in the notification payload body.
            If undefined it will mean all Attributes.
            DEPRECATED: A synonym for a combination of the pick and q parameter.

            A synonym for a combination of the pick and q parameter. DEPRECATED.
          type: array
          items:
            type: string
          minItems: 1
          deprecated: true
        sysAttrs:
          description: |
            If true, the system generated attributes createdAt and modifiedAt are included in
@@ -5409,11 +5405,12 @@ components:
          description: |
            List of Attributes that shall be matched by Entities in order to be retrieved.
            If not present all Attributes will be retrieved.
            DEPRECATED: A synonym for a combination of the pick and q parameter.
            A synonym for a combination of the pick and q parameter. DEPRECATED.
          type: array
          items:
            type: string
          minItems: 1
          deprecated: true
        pick:
          description: |
            When defined, every Entity within payload body is reduced down to only contain