From b71512d8912b5aa101885404061ae7694e79945d Mon Sep 17 00:00:00 2001 From: Jose Manuel Cantera Date: Thu, 22 Nov 2018 17:50:09 +0100 Subject: [PATCH] Adding tags --- spec/updated/csource-registrations-spec.json | 2 ++ spec/updated/csource-subscription-by-id-spec.json | 7 +++++-- spec/updated/csource-subscriptions-spec.json | 2 ++ spec/updated/entities-spec.json | 2 ++ spec/updated/entity-attrs-spec.json | 4 ++++ spec/updated/entity-by-id-spec.json | 2 ++ spec/updated/entity-operations-spec.json | 4 ++++ spec/updated/subscription-by-id-spec.json | 3 +++ spec/updated/subscriptions-spec.json | 6 ++++++ 9 files changed, 30 insertions(+), 2 deletions(-) diff --git a/spec/updated/csource-registrations-spec.json b/spec/updated/csource-registrations-spec.json index 56f1404..65976a7 100644 --- a/spec/updated/csource-registrations-spec.json +++ b/spec/updated/csource-registrations-spec.json @@ -13,6 +13,7 @@ "get": { "description": "Retrieve a set of context sources which matches a specific query from an NGSI-LD system", "operationId": "queryCsources", + "tags": ["Context Sources"], "parameters": [ { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id" @@ -76,6 +77,7 @@ "post": { "description": "Registers a new context source within an NGSI-LD system", "operationId": "registerCsource", + "tags": ["Context Sources"], "requestBody": { "required": true, "content": { diff --git a/spec/updated/csource-subscription-by-id-spec.json b/spec/updated/csource-subscription-by-id-spec.json index 568a3c6..148e5dc 100644 --- a/spec/updated/csource-subscription-by-id-spec.json +++ b/spec/updated/csource-subscription-by-id-spec.json @@ -23,6 +23,7 @@ "get": { "description": "Retrieves a specific Subscription from an NGSI-LD system", "operationId": "retrieveSubscription", + "tags": ["Context Sources"], "parameters": [ { "$ref": "#/components/parameters/subscriptionId" @@ -69,6 +70,7 @@ "patch": { "description": "Updates a specific context source discovery Subscription within an NGSI-LD system", "operationId": "updateCSourceSubscription", + "tags": ["Context Sources"] "parameters": [ { "$ref": "#/components/parameters/subscriptionId" @@ -111,8 +113,9 @@ } }, "delete": { - "description": "Removes a specific Subscription from an NGSI-LD system", - "operationId": "removeSubscription", + "description": "Removes a specific Context Source Subscription from an NGSI-LD system", + "operationId": "removeCSourceSubscription", + "tags": ["Context Sources"] "parameters": [ { "$ref": "#/components/parameters/subscriptionId" diff --git a/spec/updated/csource-subscriptions-spec.json b/spec/updated/csource-subscriptions-spec.json index 04c1643..42ecc21 100644 --- a/spec/updated/csource-subscriptions-spec.json +++ b/spec/updated/csource-subscriptions-spec.json @@ -23,6 +23,7 @@ "get": { "description": "Retrieves the context source discovery subscriptions available in an NGSI-LD system", "operationId": "retrieveCSourceSubscriptions", + "tags": ["Context Sources"], "parameters": [ { "$ref": "#/components/parameters/limit" @@ -59,6 +60,7 @@ "post": { "description": "Creates a context source discovery Subscription within an NGSI-LD system", "operationId": "createCSourceSubscription", + "tags": ["Context Sources"] "requestBody": { "required": true, "content": { diff --git a/spec/updated/entities-spec.json b/spec/updated/entities-spec.json index 6adf2ca..fa5750e 100644 --- a/spec/updated/entities-spec.json +++ b/spec/updated/entities-spec.json @@ -130,6 +130,7 @@ "get": { "description": "Retrieve a set of entities which matches a specific query from an NGSI-LD system", "operationId": "queryEntities", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/id" @@ -199,6 +200,7 @@ "post": { "description": "Create a new Entity within an NGSI-LD system", "operationId": "createEntity", + "tags": ["Context Information"] "requestBody": { "required": true, "content": { diff --git a/spec/updated/entity-attrs-spec.json b/spec/updated/entity-attrs-spec.json index 908cbea..3e8ad39 100644 --- a/spec/updated/entity-attrs-spec.json +++ b/spec/updated/entity-attrs-spec.json @@ -44,6 +44,7 @@ "post": { "description": "Append new Entity attributes to an existing Entity within an NGSI-LD system", "operationId": "appendEntityAttrs", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/entityId" @@ -101,6 +102,7 @@ "patch": { "description": "Update existing Entity attributes within an NGSI-LD system", "operationId": "updateEntityAttrs", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/entityId" @@ -157,6 +159,7 @@ "patch": { "description": "Update existing Entity attributes within an NGSI-LD system", "operationId": "partialAttrUpdate", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/entityId" @@ -204,6 +207,7 @@ "delete": { "description": "Removes an existing Entity attribute within an NGSI-LD system", "operationId": "removeEntityAttr", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/entityId" diff --git a/spec/updated/entity-by-id-spec.json b/spec/updated/entity-by-id-spec.json index b31a79f..dfec25e 100644 --- a/spec/updated/entity-by-id-spec.json +++ b/spec/updated/entity-by-id-spec.json @@ -42,6 +42,7 @@ "get": { "description": "Retrieve an specific Entity from an NGSI-LD system. It's possible to specify the Entity attributes to be retrieved by using query parameters", "operationId": "retrieveEntityById", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/entityId" @@ -97,6 +98,7 @@ "delete": { "description": "Removes an specific Entity from an NGSI-LD system", "operationId": "removeEntityById", + "tags": ["Context Information"], "parameters": [ { "$ref": "#/components/parameters/entityId" diff --git a/spec/updated/entity-operations-spec.json b/spec/updated/entity-operations-spec.json index fb6d38f..d70e822 100644 --- a/spec/updated/entity-operations-spec.json +++ b/spec/updated/entity-operations-spec.json @@ -10,6 +10,7 @@ "post": { "description": "Batch Entity creation", "operationId": "batchEntityCreation", + "tags": ["Batch Operations"], "requestBody": { "required": true, "content": { @@ -48,6 +49,7 @@ "post": { "description": "Batch Entity update", "operationId": "batchEntityUpdate", + "tags": ["Batch Operations"], "parameters": [ { "name": "options", @@ -99,6 +101,7 @@ "post": { "description": "Batch Entity upsert", "operationId": "batchEntityUpsert", + "tags": ["Batch Operations"], "parameters": [ { "name": "options", @@ -151,6 +154,7 @@ "post": { "description": "Batch Entity delete", "operationId": "batchEntityDelete", + "tags": ["Batch Operations"], "requestBody": { "required": true, "content": { diff --git a/spec/updated/subscription-by-id-spec.json b/spec/updated/subscription-by-id-spec.json index ae6fa8e..533a1d7 100644 --- a/spec/updated/subscription-by-id-spec.json +++ b/spec/updated/subscription-by-id-spec.json @@ -23,6 +23,7 @@ "get": { "description": "Retrieves a specific Subscription from an NGSI-LD system", "operationId": "retrieveSubscription", + "tags": ["Context Subscriptions"], "parameters": [ { "$ref": "#/components/parameters/subscriptionId" @@ -69,6 +70,7 @@ "patch": { "description": "Updates a specific Subscription within an NGSI-LD system", "operationId": "updateSubscription", + "tags": ["Subscriptions"], "parameters": [ { "$ref": "#/components/parameters/subscriptionId" @@ -113,6 +115,7 @@ "delete": { "description": "Removes a specific Subscription from an NGSI-LD system", "operationId": "removeSubscription", + "tags": ["Subscriptions"], "parameters": [ { "$ref": "#/components/parameters/subscriptionId" diff --git a/spec/updated/subscriptions-spec.json b/spec/updated/subscriptions-spec.json index b7f0356..3e73813 100644 --- a/spec/updated/subscriptions-spec.json +++ b/spec/updated/subscriptions-spec.json @@ -23,6 +23,9 @@ "get": { "description": "Retrieves the subscriptions available in an NGSI-LD system", "operationId": "retrieveSubscriptions", + "tags":[ + "Subscriptions" + ], "parameters": [ { "$ref": "#/components/parameters/limit" @@ -59,6 +62,9 @@ "post": { "description": "Creates a new Subscription within an NGSI-LD system", "operationId": "createSubscription", + "tags":[ + "Subscriptions" + ], "requestBody": { "required": true, "content": { -- GitLab