Loading ngsi-ld-api.yaml +14 −26 Original line number Original line Diff line number Diff line Loading @@ -969,11 +969,11 @@ paths: type: array type: array items: items: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading @@ -995,6 +995,8 @@ paths: parameters: parameters: # Path params # Path params - $ref: '#/components/parameters/Path.subscriptionId' - $ref: '#/components/parameters/Path.subscriptionId' # Query params - $ref: '#/components/parameters/Query.options.sysAttrs' # Local Query param # Local Query param - $ref: '#/components/parameters/Query.local' - $ref: '#/components/parameters/Query.local' # Request headers # Request headers Loading @@ -1021,11 +1023,11 @@ paths: application/json+ld: application/json+ld: schema: schema: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading Loading @@ -1062,7 +1064,7 @@ paths: requestBody: requestBody: description: | description: | Subscription Fragment including id, type and any other subscription field to be changed. Subscription Fragment including id, type and any other subscription field to be changed. $ref: '#/components/requestBodies/SubscriptionFragment' $ref: '#/components/requestBodies/Subscription' responses: responses: '204': '204': description: | description: | Loading Loading @@ -1139,8 +1141,6 @@ paths: $ref: '#/components/responses/BadRequest' $ref: '#/components/responses/BadRequest' '409': '409': $ref: '#/components/responses/Conflict' $ref: '#/components/responses/Conflict' '422': $ref: '#/components/responses/Unprocessable' get: get: tags: tags: - Context Source Registration Subscription - Context Source Registration Subscription Loading Loading @@ -1186,11 +1186,11 @@ paths: type: array type: array items: items: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading @@ -1203,13 +1203,15 @@ paths: tags: tags: - Context Source Registration Subscription - Context Source Registration Subscription summary: | summary: | Retrieval of subscription to Csource registration by id Csource registration subscription update by id description: | description: | 5.11.4 Retrieve Context Source Registration Subscription. 5.11.4 Retrieve Context Source Registration Subscription. This operation allows retrieving an existing Context Source Registration Subscription. This operation allows retrieving an existing Context Source Registration Subscription. operationId: retrieveCSRSubscription operationId: retrieveCSRSubscription parameters: parameters: # Query params - $ref: '#/components/parameters/Query.options.sysAttrs' # Path params # Path params - $ref: '#/components/parameters/Path.subscriptionId' - $ref: '#/components/parameters/Path.subscriptionId' # Local Query param # Local Query param Loading Loading @@ -1239,11 +1241,11 @@ paths: application/json+ld: application/json+ld: schema: schema: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading Loading @@ -1281,7 +1283,7 @@ paths: description: | description: | Subscription Fragment including id, type and any other context Subscription Fragment including id, type and any other context source registration subscription field to be changed. source registration subscription field to be changed. $ref: '#/components/requestBodies/SubscriptionFragment' $ref: '#/components/requestBodies/Subscription' responses: responses: '204': '204': description: | description: | Loading @@ -1295,7 +1297,7 @@ paths: $ref: '#/components/responses/NotFound' $ref: '#/components/responses/NotFound' delete: delete: tags: tags: - Context Source Registration - Context Source Registration Subscription summary: | summary: | Csource registration subscription deletion by id Csource registration subscription deletion by id description: | description: | Loading Loading @@ -3294,28 +3296,14 @@ components: application/json+ld: application/json+ld: schema: schema: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - required: - type - '@context' SubscriptionFragment: content: application/json: schema: $ref: '#/components/schemas/Subscription' application/json+ld: schema: allOf: - $ref: '#/components/schemas/Subscription' - $ref: '#/components/schemas/Subscription' - type: object properties: '@context': $ref: '#/components/schemas/LdContext' - required: - required: - type - entities - '@context' - '@context' schemas: schemas: AnyValue: AnyValue: Loading Loading
ngsi-ld-api.yaml +14 −26 Original line number Original line Diff line number Diff line Loading @@ -969,11 +969,11 @@ paths: type: array type: array items: items: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading @@ -995,6 +995,8 @@ paths: parameters: parameters: # Path params # Path params - $ref: '#/components/parameters/Path.subscriptionId' - $ref: '#/components/parameters/Path.subscriptionId' # Query params - $ref: '#/components/parameters/Query.options.sysAttrs' # Local Query param # Local Query param - $ref: '#/components/parameters/Query.local' - $ref: '#/components/parameters/Query.local' # Request headers # Request headers Loading @@ -1021,11 +1023,11 @@ paths: application/json+ld: application/json+ld: schema: schema: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading Loading @@ -1062,7 +1064,7 @@ paths: requestBody: requestBody: description: | description: | Subscription Fragment including id, type and any other subscription field to be changed. Subscription Fragment including id, type and any other subscription field to be changed. $ref: '#/components/requestBodies/SubscriptionFragment' $ref: '#/components/requestBodies/Subscription' responses: responses: '204': '204': description: | description: | Loading Loading @@ -1139,8 +1141,6 @@ paths: $ref: '#/components/responses/BadRequest' $ref: '#/components/responses/BadRequest' '409': '409': $ref: '#/components/responses/Conflict' $ref: '#/components/responses/Conflict' '422': $ref: '#/components/responses/Unprocessable' get: get: tags: tags: - Context Source Registration Subscription - Context Source Registration Subscription Loading Loading @@ -1186,11 +1186,11 @@ paths: type: array type: array items: items: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading @@ -1203,13 +1203,15 @@ paths: tags: tags: - Context Source Registration Subscription - Context Source Registration Subscription summary: | summary: | Retrieval of subscription to Csource registration by id Csource registration subscription update by id description: | description: | 5.11.4 Retrieve Context Source Registration Subscription. 5.11.4 Retrieve Context Source Registration Subscription. This operation allows retrieving an existing Context Source Registration Subscription. This operation allows retrieving an existing Context Source Registration Subscription. operationId: retrieveCSRSubscription operationId: retrieveCSRSubscription parameters: parameters: # Query params - $ref: '#/components/parameters/Query.options.sysAttrs' # Path params # Path params - $ref: '#/components/parameters/Path.subscriptionId' - $ref: '#/components/parameters/Path.subscriptionId' # Local Query param # Local Query param Loading Loading @@ -1239,11 +1241,11 @@ paths: application/json+ld: application/json+ld: schema: schema: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - $ref: '#/components/schemas/Subscription' - required: - required: - id - id - type - type Loading Loading @@ -1281,7 +1283,7 @@ paths: description: | description: | Subscription Fragment including id, type and any other context Subscription Fragment including id, type and any other context source registration subscription field to be changed. source registration subscription field to be changed. $ref: '#/components/requestBodies/SubscriptionFragment' $ref: '#/components/requestBodies/Subscription' responses: responses: '204': '204': description: | description: | Loading @@ -1295,7 +1297,7 @@ paths: $ref: '#/components/responses/NotFound' $ref: '#/components/responses/NotFound' delete: delete: tags: tags: - Context Source Registration - Context Source Registration Subscription summary: | summary: | Csource registration subscription deletion by id Csource registration subscription deletion by id description: | description: | Loading Loading @@ -3294,28 +3296,14 @@ components: application/json+ld: application/json+ld: schema: schema: allOf: allOf: - $ref: '#/components/schemas/Subscription' - type: object - type: object properties: properties: '@context': '@context': $ref: '#/components/schemas/LdContext' $ref: '#/components/schemas/LdContext' - required: - type - '@context' SubscriptionFragment: content: application/json: schema: $ref: '#/components/schemas/Subscription' application/json+ld: schema: allOf: - $ref: '#/components/schemas/Subscription' - $ref: '#/components/schemas/Subscription' - type: object properties: '@context': $ref: '#/components/schemas/LdContext' - required: - required: - type - entities - '@context' - '@context' schemas: schemas: AnyValue: AnyValue: Loading