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