Commit bcb3218d authored by Stefan Wiedemann's avatar Stefan Wiedemann
Browse files

restructure

parent 7af4b755
......@@ -10,7 +10,7 @@ This repository contains OpenAPI descriptions for the NGSI-LD interface defined
To get an account on ETSI Forge and to learn how to contribute visit the [Forge Getting started wiki](https://forge.etsi.org/wiki/index.php/Get_started).
More info @ [CONTIBUTE](./CONTRIBUTE.md)
More info @ [CONTRIBUTE](./CONTRIBUTE.md)
Change requests are managed using [Gerrit](https://forge.etsi.org/gerrit).
......@@ -22,12 +22,13 @@ it replaces all paths to the master branch inside [spec](spec) and [schema](sche
references are resolved with 'https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master' and therefore changes will not be present locally.
With the local file-server still running, you can build the bundled api via:
TODO: change to openapi-cli image -> https://github.com/Redocly/openapi-cli/pull/247/files
```
docker run --network host -it -v ${PWD}/:/data broothie/redoc-cli bundle spec/updated/ngsi-ld-spec-open-api.json -o spec/updated/full_api.json
docker run --network host -it -v ${PWD}/:/data broothie/redoc-cli bundle spec/updated/ngsi-ld-spec-open-api.json -o spec/updated/generated/full_api.json
```
And validate it with:
```
docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/full_api.json
docker run --network host --rm -v ${PWD}/:/local openapitools/openapi-generator-cli validate -i /local/spec/updated/generated/full_api.json
```
When editing is finished, hit the enter button on your local dev env and push.
......
......@@ -10,7 +10,7 @@
"format": "uri"
},
"error": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
"$ref": "http://localhost:8090/schema/common.json#/definitions/ProblemDetails"
}
}
},
......
......@@ -27,13 +27,13 @@
]
},
"observedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/observedAt"
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
},
"datasetId": {
"$ref": "#/definitions/datasetId"
......@@ -69,13 +69,13 @@
"format": "uri"
},
"observedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/observedAt"
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
},
"datasetId": {
"$ref": "#/definitions/datasetId"
......@@ -107,16 +107,16 @@
"enum": ["GeoProperty"]
},
"value": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/Geometry"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/Geometry"
},
"observedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/observedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/observedAt"
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
},
"datasetId": {
"$ref": "#/definitions/datasetId"
......@@ -144,7 +144,7 @@
"type": "object",
"properties": {
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"location": {
"$ref": "#/definitions/GeoProperty"
......@@ -160,13 +160,13 @@
"format": "uri"
},
"type": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Name"
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
}
},
"additionalProperties": {
......
......@@ -5,7 +5,7 @@
"EntityList": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Entity"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/Entity"
}
}
},
......
......@@ -128,16 +128,16 @@
"coordinates": {
"oneOf": [
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/position"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/position"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/positionArray"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/positionArray"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/lineString"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/lineString"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/polygon"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/polygon"
}
]
},
......
{
"$schema": "http://json-schema.org/schema#",
"$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceNotification.json",
"$id": "http://localhost:8090/schema/registrations/ContextSourceNotification.json",
"title": "NGSI-LD Context Source Notification",
"description": "NGSI-LD Context Source Notification",
"type": "object",
......@@ -18,7 +18,7 @@
"format": "uri"
},
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"notifiedAt": {
"type": "string",
......@@ -27,7 +27,7 @@
"data": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
"$ref": "http://localhost:8090/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
},
"minItems": 1
},
......
{
"$schema": "http://json-schema.org/schema#",
"$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json",
"$id": "http://localhost:8090/schema/registrations/ContextSourceRegistration.json",
"title": "NGSI-LD Context Source Registration",
"description": "NGSI-LD Context Source Registration",
"definitions": {
......@@ -11,14 +11,14 @@
"type": "array",
"minItems": 1,
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/EntityInfo"
"$ref": "http://localhost:8090/schema/common.json#/definitions/EntityInfo"
}
},
"properties": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Name"
},
"uniqueItems": true
},
......@@ -26,7 +26,7 @@
"type": "array",
"minItems": 1,
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Name"
},
"uniqueItems": true
}
......@@ -52,7 +52,7 @@
"type": "object",
"properties": {
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"information": {
"type": "array",
......@@ -68,13 +68,13 @@
"$ref": "#/definitions/TimeInterval"
},
"location": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/Geometry"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/Geometry"
},
"observationSpace": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/Geometry"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/Geometry"
},
"operationSpace": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Geometry.json#/definitions/Geometry"
"$ref": "http://localhost:8090/schema/Geometry.json#/definitions/Geometry"
},
"expires": {
"type": "string",
......@@ -112,10 +112,10 @@
"enum": ["ContextSourceRegistration"]
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
}
},
"required": [
......
{
"$schema": "http://json-schema.org/schema#",
"$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistrationList.json",
"$id": "http://localhost:8090/schema/registrations/ContextSourceRegistrationList.json",
"title": "NGSI-LD Registration List",
"description": "NGSI-LD Registration List",
"definitions": {
"ContextSourceRegistrationList": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
"$ref": "http://localhost:8090/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
}
}
},
......
......@@ -18,7 +18,7 @@
"format": "uri"
},
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"notifiedAt": {
"type": "string",
......@@ -27,7 +27,7 @@
"data": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Entity"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/Entity"
},
"minItems": 1
}
......
......@@ -18,7 +18,7 @@
"type": "string"
},
"endpoint": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Endpoint"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Endpoint"
},
"status": {
"type": "string",
......@@ -57,13 +57,13 @@
],
"properties": {
"georel": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/georel"
"$ref": "http://localhost:8090/schema/common.json#/definitions/georel"
},
"coordinates": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/coordinates"
"$ref": "http://localhost:8090/schema/common.json#/definitions/coordinates"
},
"geometry": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/geometry"
"$ref": "http://localhost:8090/schema/common.json#/definitions/geometry"
}
}
},
......@@ -71,12 +71,12 @@
"type": "object",
"properties": {
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"entities": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/EntityInfo"
"$ref": "http://localhost:8090/schema/common.json#/definitions/EntityInfo"
},
"minItems": 1
},
......@@ -92,7 +92,7 @@
"type": "array",
"minItems": 1,
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Name"
},
"uniqueItems": true
},
......@@ -150,10 +150,10 @@
]
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
}
},
"allOf": [
......
......@@ -5,7 +5,7 @@
"SubscriptionList": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/subscriptions/Subscription.json#/definitions/Subscription"
"$ref": "http://localhost:8090/schema/subscriptions/Subscription.json#/definitions/Subscription"
}
}
},
......
......@@ -6,26 +6,26 @@
"type": "object",
"properties": {
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"location": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/GeoProperty"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/GeoProperty"
},
"minItems": 1
},
"observationSpace": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/GeoProperty"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/GeoProperty"
},
"minItems": 1
},
"operationSpace": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/GeoProperty"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/GeoProperty"
},
"minItems": 1
},
......@@ -34,13 +34,13 @@
"format": "uri"
},
"type": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Name"
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
}
},
"additionalProperties": {
......@@ -48,21 +48,21 @@
{
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Property"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/Property"
},
"minItems": 1
},
{
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Relationship"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/Relationship"
},
"minItems": 1
},
{
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/GeoProperty"
"$ref": "http://localhost:8090/schema/Entity.json#/definitions/GeoProperty"
},
"minItems": 1
}
......
......@@ -5,7 +5,7 @@
"EntityTemporalList": {
"type": "array",
"items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json#/definitions/EntityTemporal"
"$ref": "http://localhost:8090/schema/temporal/EntityTemporal.json#/definitions/EntityTemporal"
}
}
},
......
......@@ -86,16 +86,16 @@
"format": "uri"
},
"type": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name"
"$ref": "http://localhost:8090/schema/common.json#/definitions/Name"
},
"@context": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/LdContext"
"$ref": "http://localhost:8090/schema/common.json#/definitions/LdContext"
},
"createdAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/createdAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/createdAt"
},
"modifiedAt": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/modifiedAt"
"$ref": "http://localhost:8090/schema/common.json#/definitions/modifiedAt"
}
},
"required": [
......
......@@ -23,7 +23,7 @@
"get": {
"description": "Retrieves a specific context source registration from an NGSI-LD system",
"operationId": "retrieveCsource",
"tags": ["Context Sources"],
"tags": ["Context Sources", "CSourceRegistrations"],
"parameters": [
{
"$ref": "#/components/parameters/registrationId"
......@@ -35,11 +35,11 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
"$ref": "http://localhost:8090/schema/registrations/ContextSourceRegistration.json#/definitions/ContextSourceRegistration"
},
"examples": {
"simple": {
"externalValue": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/examples/"
"externalValue": "http://localhost:8090/examples/"
}
}
}
......@@ -50,7 +50,7 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
"$ref": "http://localhost:8090/schema/common.json#/definitions/ProblemDetails"
}
}
}
......@@ -60,7 +60,7 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
"$ref": "http://localhost:8090/schema/common.json#/definitions/ProblemDetails"
}
}
}
......@@ -70,7 +70,7 @@
"delete": {
"description": "Removes an specific context source registration within an NGSI-LD system",
"operationId": "removeCsource",
"tags": ["Context Sources"],
"tags": ["Context Sources", "CSourceRegistrations"],
"parameters": [
{
"$ref": "#/components/parameters/registrationId"
......@@ -85,7 +85,7 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
"$ref": "http://localhost:8090/schema/common.json#/definitions/ProblemDetails"
}
}
}
......@@ -95,7 +95,7 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
"$ref": "http://localhost:8090/schema/common.json#/definitions/ProblemDetails"
}
}
}
......
......@@ -13,37 +13,37 @@
"get": {
"description": "Retrieve a set of context sources which matches a specific query from an NGSI-LD system",
"operationId": "queryCsources",
"tags": ["Context Sources"],
"tags": ["Context Sources", "CSourceRegistrations"],
"parameters": [
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/id"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/idPattern"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/idPattern"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/type"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/type"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/attrs"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/attrs"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/q"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/q"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/georel"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/georel"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geometry"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/geometry"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/coordinates"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/coordinates"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geoproperty"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/geoproperty"
},
{
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/limit"
"$ref": "http://localhost:8090/spec/updated/entities/entities-spec.json#/components/parameters/limit"
}
],
"responses": {
......@@ -52,11 +52,11 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/registrations/ContextSourceRegistrationList.json#/definitions/ContextSourceRegistrationList"
"$ref": "http://localhost:8090/schema/registrations/ContextSourceRegistrationList.json#/definitions/ContextSourceRegistrationList"
},
"examples": {
"simple": {
"externalValue": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/examples/ContextSourceRegistrationList-example.json"
"externalValue": "http://localhost:8090/examples/ContextSourceRegistrationList-example.json"
}
}
}
......@@ -67,7 +67,7 @@
"content": {
"application/json;application/ld+json": {
"schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails"
"$ref": "http://localhost:8090/schema/common.json#/definitions/ProblemDetails"
}
}
}
......@@ -77,13 +77,13 @@
"post": {
"description": "Registers a new context source within an NGSI-LD system",
"operationId": "registerCsource",
"tags": ["Context Sources"],
"tags": ["Context Sources", "CSourceRegistrations"],
"requestBody": {
"required": true,
"content": {
"application/json;application/ld+json": {