From 1ac65f871dcbfa7bd838717f624649304fa6f5ac Mon Sep 17 00:00:00 2001 From: almog8k <60139576+almog8k@users.noreply.github.com> Date: Tue, 28 May 2024 15:53:28 +0300 Subject: [PATCH] fix: add fileName property to sourceInfo response (#188) * fix: add fileName property to sourceInfo resposne * fix: remove wrong example from rasterLayerpartMetadata --- src/yaml/ingestionTrigger/partData/rasterLayerPartData.yaml | 1 - .../ingestionTrigger/responses/ingestionTriggerResponses.yaml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/yaml/ingestionTrigger/partData/rasterLayerPartData.yaml b/src/yaml/ingestionTrigger/partData/rasterLayerPartData.yaml index e126733a..8fb7634c 100644 --- a/src/yaml/ingestionTrigger/partData/rasterLayerPartData.yaml +++ b/src/yaml/ingestionTrigger/partData/rasterLayerPartData.yaml @@ -75,4 +75,3 @@ components: type: string geometry: $ref: '../../geojson.yaml#/components/schemas/Geometry' - example: ['example.gpkg'] diff --git a/src/yaml/ingestionTrigger/responses/ingestionTriggerResponses.yaml b/src/yaml/ingestionTrigger/responses/ingestionTriggerResponses.yaml index ee6c7d13..33976462 100644 --- a/src/yaml/ingestionTrigger/responses/ingestionTriggerResponses.yaml +++ b/src/yaml/ingestionTrigger/responses/ingestionTriggerResponses.yaml @@ -17,11 +17,14 @@ components: type: number extentPolygon: $ref: '../../geojson.yaml#/components/schemas/Geometry' + fileName: + type: string required: - crs - fileFormat - pixelSize - extentPolygon + - fileName example: crs: 4326 fileFormat: gpkg @@ -39,6 +42,7 @@ components: - -90 - - -180 - -90 + fileName: "file.gpkg" validateSourcesResponse: type: object properties: