From 9555433eb8829f5524a5f2ef6c66d9dd69c8742b Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 14 Jul 2023 13:50:29 +0200 Subject: [PATCH] `PATCH /services/{service_id}` and `PATCH /jobs/{job_id}`: Explicitly allow updating back-end specific properties (as in `POST`) `GET /services/{service_id}` and `GET /jobs/{job_id}`: Explicitly allow listing back-end specific properties (as provided in `POST`) --- CHANGELOG.md | 2 ++ openapi.yaml | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddfeaf2c..fb557834 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `GET /file_formats`: Base paramater on top of normal JSON Schema, not Process JSON Schema +- `PATCH /services/{service_id}` and `PATCH /jobs/{job_id}`: Explicitly allow updating back-end specific properties (as in `POST`) +- `GET /services/{service_id}` and `GET /jobs/{job_id}`: Explicitly allow listing back-end specific properties (as provided in `POST`) ## [1.2.0] - 2021-05-25 diff --git a/openapi.yaml b/openapi.yaml index 29f68527..966bdbcb 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2789,6 +2789,8 @@ paths: $ref: '#/components/schemas/budget_update' log_level: $ref: '#/components/schemas/min_log_level_update' + additionalProperties: + description: You can add additional back-end specific properties here. description: The data to change for the specified secondary web service. get: summary: Full metadata for a service @@ -2810,7 +2812,9 @@ paths: - configuration - attributes allOf: - - $ref: '#/components/schemas/service' + - $ref: '#/components/schemas/service' + additionalProperties: + description: You can list additional back-end specific properties here. 4XX: $ref: '#/components/responses/client_error_auth' 5XX: @@ -3017,6 +3021,8 @@ paths: $ref: '#/components/schemas/budget_update' log_level: $ref: '#/components/schemas/min_log_level_update' + additionalProperties: + description: You can add additional back-end specific properties here. description: Specifies the job details to update. get: summary: Full metadata for a batch job @@ -3038,6 +3044,8 @@ paths: - process allOf: - $ref: '#/components/schemas/batch_job' + additionalProperties: + description: You can list additional back-end specific properties here. 4XX: $ref: '#/components/responses/client_error_auth' 5XX: