diff --git a/specification/quantumleap.yml b/specification/quantumleap.yml index bbbf3fb9..770e90ab 100644 --- a/specification/quantumleap.yml +++ b/specification/quantumleap.yml @@ -1,7 +1,7 @@ swagger: '2.0' # For 3.0 see (https://github.com/zalando/connexion/issues/420) info: title: "QuantumLeap API" - version: "0.9.0-dev" # we'll keep it aligned with QL version + version: "1.0.0" # we'll keep it aligned with QL version host: "localhost:8668" # it'll run in the same container, hence localhost. produces: - text/plain @@ -87,7 +87,7 @@ definitions: items: type: string example: - entities: + entities: - id: Kitchen type: Room attrs: @@ -119,7 +119,7 @@ definitions: example, if aggrPeriod is day, each value of course may not correspond to original measurements but rather the aggregate of measurements in each day." - + IndexedValues: type: object properties: @@ -1370,7 +1370,7 @@ paths: - $ref: '#/parameters/geometry' - $ref: '#/parameters/coords' - $ref: '#/parameters/idPattern' - + # In Header... - $ref: '#/parameters/fiware-Service' - $ref: '#/parameters/fiware-ServicePath' diff --git a/src/reporter/tests/test_version.py b/src/reporter/tests/test_version.py index 75f484f8..a8646986 100644 --- a/src/reporter/tests/test_version.py +++ b/src/reporter/tests/test_version.py @@ -7,5 +7,5 @@ def test_version(): r = requests.get('{}'.format(version_url)) assert r.status_code == 200, r.text assert r.json() == { - "version": "0.9.0-dev" + "version": "1.0.0" } diff --git a/src/reporter/version.py b/src/reporter/version.py index 20ea9efa..0dbe142b 100644 --- a/src/reporter/version.py +++ b/src/reporter/version.py @@ -2,5 +2,5 @@ def version(): return { - 'version': '0.9.0-dev' + 'version': '1.0.0' }