From af6ab82efc7a6f5eed90eb0c4c03907dba149f98 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Sat, 16 Nov 2024 00:16:12 +0100 Subject: [PATCH 1/4] Add openEO processes version #517 --- CHANGELOG.md | 1 + openapi.yaml | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a395e96..c2a179ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **New extensions:** - [Remote Process Definition Extension](./extensions/remote-process-definition/README.md) +- Added `version` property to `GET /processes` [#517](https://github.com/Open-EO/openeo-api/issues/517) ### Fixed diff --git a/openapi.yaml b/openapi.yaml index bcf8266d..2c80a191 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -615,7 +615,7 @@ paths: api_version: type: string description: >- - Version number of the openEO specification this back-end + Version number of the openEO API specification this back-end implements. enum: - 1.2.0 @@ -1660,6 +1660,17 @@ paths: - processes - links properties: + version: + type: string + nullable: true + description: >- + Version number of the openEO process specification this back-end + implements. + If not provided or `null` the version is either unknown or multiple versions are implemented. + Clients must be able to handle multiple process versions at the same time. + + This is **not** the openEO API specification version. + example: 1.2.0 processes: type: array items: From 79e1dd607c356cc90c9422a074777187a39951e1 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Tue, 19 Nov 2024 09:06:26 -0600 Subject: [PATCH 2/4] Update openapi.yaml --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 2c80a191..7a64a925 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1665,7 +1665,7 @@ paths: nullable: true description: >- Version number of the openEO process specification this back-end - implements. + targets. If not provided or `null` the version is either unknown or multiple versions are implemented. Clients must be able to handle multiple process versions at the same time. From 24c962b6320b1fa91910fcfb32ca5f749be642c2 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Tue, 19 Nov 2024 09:06:43 -0600 Subject: [PATCH 3/4] Update openapi.yaml Co-authored-by: Stefaan Lippens --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 7a64a925..50033244 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1666,7 +1666,7 @@ paths: description: >- Version number of the openEO process specification this back-end targets. - If not provided or `null` the version is either unknown or multiple versions are implemented. + If not provided or `null`, the version is either unknown or multiple versions are implemented. Clients must be able to handle multiple process versions at the same time. This is **not** the openEO API specification version. From c62164345ab22e5fb8744ff556e0ea3c77dfc271 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Tue, 19 Nov 2024 09:07:19 -0600 Subject: [PATCH 4/4] Update openapi.yaml --- openapi.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 50033244..3237fafb 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1667,7 +1667,7 @@ paths: Version number of the openEO process specification this back-end targets. If not provided or `null`, the version is either unknown or multiple versions are implemented. - Clients must be able to handle multiple process versions at the same time. + Clients must be able to handle multiple process specification versions at the same time. This is **not** the openEO API specification version. example: 1.2.0