From b6a1afe6ea1e066704ecbba5ac06350951e9041d Mon Sep 17 00:00:00 2001 From: Patrice Conil Date: Mon, 6 Oct 2025 16:34:24 +0200 Subject: [PATCH 1/5] fix(openapi): Fix #107 - Class Names are in SNAKE_CASE but should be in CamelCase --- code/API_definitions/population-density-data.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/API_definitions/population-density-data.yaml b/code/API_definitions/population-density-data.yaml index abfa671..d350eb7 100644 --- a/code/API_definitions/population-density-data.yaml +++ b/code/API_definitions/population-density-data.yaml @@ -133,7 +133,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.3.0 + version: 0.3.1 x-camara-commonalities: 0.6 externalDocs: @@ -633,16 +633,16 @@ components: discriminator: propertyName: dataType mapping: - NO_DATA: '#/components/schemas/NO_DATA' + NO_DATA: '#/components/schemas/NoData' LOW_DENSITY: '#/components/schemas/LOW_DENSITY' - DENSITY_ESTIMATION: '#/components/schemas/DENSITY_ESTIMATION' - NO_DATA: + DENSITY_ESTIMATION: '#/components/schemas/DensityEstimation' + NoData: allOf: - $ref: '#/components/schemas/CellPopulationDensityData' - LOW_DENSITY: + LowDensity: allOf: - $ref: '#/components/schemas/CellPopulationDensityData' - DENSITY_ESTIMATION: + DensityEstimation: allOf: - $ref: '#/components/schemas/CellPopulationDensityData' - type: object From c10a4bd8c16f9a5630c82e1e6d249fc17bfccf05 Mon Sep 17 00:00:00 2001 From: Patrice Conil Date: Mon, 6 Oct 2025 17:00:04 +0200 Subject: [PATCH 2/5] fix(openapi): Missing LowDensity fixed --- code/API_definitions/population-density-data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/population-density-data.yaml b/code/API_definitions/population-density-data.yaml index d350eb7..013a902 100644 --- a/code/API_definitions/population-density-data.yaml +++ b/code/API_definitions/population-density-data.yaml @@ -634,7 +634,7 @@ components: propertyName: dataType mapping: NO_DATA: '#/components/schemas/NoData' - LOW_DENSITY: '#/components/schemas/LOW_DENSITY' + LOW_DENSITY: '#/components/schemas/LowDensity' DENSITY_ESTIMATION: '#/components/schemas/DensityEstimation' NoData: allOf: From 05e97a0f17e23781680f66a099c2b8ca3a035d27 Mon Sep 17 00:00:00 2001 From: Patrice Conil Date: Mon, 20 Oct 2025 17:23:07 +0200 Subject: [PATCH 3/5] Update code/API_definitions/population-density-data.yaml Co-authored-by: Jorge Garcia Hospital <129095857+jgarciahospital@users.noreply.github.com> --- code/API_definitions/population-density-data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/population-density-data.yaml b/code/API_definitions/population-density-data.yaml index 013a902..2642ee2 100644 --- a/code/API_definitions/population-density-data.yaml +++ b/code/API_definitions/population-density-data.yaml @@ -133,7 +133,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.3.1 + version: wip x-camara-commonalities: 0.6 externalDocs: From 85589c5cd49a8e2e53147ced4c7aa88eddcc3d78 Mon Sep 17 00:00:00 2001 From: Patrice Conil Date: Tue, 4 Nov 2025 08:55:19 +0100 Subject: [PATCH 4/5] fix(openapi): Change version in path to vwip --- code/API_definitions/population-density-data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/population-density-data.yaml b/code/API_definitions/population-density-data.yaml index 2642ee2..8966b51 100644 --- a/code/API_definitions/population-density-data.yaml +++ b/code/API_definitions/population-density-data.yaml @@ -141,7 +141,7 @@ externalDocs: url: https://github.com/camaraproject/PopulationDensityData servers: - - url: '{apiRoot}/population-density-data/v0.3' + - url: '{apiRoot}/population-density-data/vwip' variables: apiRoot: From 97b6f9588b220912ad00c6a8ac127c295eafe31c Mon Sep 17 00:00:00 2001 From: Patrice Conil Date: Wed, 19 Nov 2025 14:47:34 +0100 Subject: [PATCH 5/5] fix(feature): Fix version in Background resource path --- code/Test_definitions/population-density-data.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/population-density-data.feature b/code/Test_definitions/population-density-data.feature index 9d418d7..67f2df5 100644 --- a/code/Test_definitions/population-density-data.feature +++ b/code/Test_definitions/population-density-data.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Population Density Data API, v0.3.0 +Feature: CAMARA Population Density Data API, vwip # Input to be provided by the implementation to the tester # # Implementation indications: @@ -16,7 +16,7 @@ Feature: CAMARA Population Density Data API, v0.3.0 Background: Common retrievePopulationDensity setup Given an environment at "apiRoot" - And the resource "/population-density-data/v0.3/retrieve" + And the resource "/population-density-data/vwip/retrieve" And the header "Content-Type" is set to "application/json" And the header "Authorization" is set to a valid access token And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"