Skip to content

Commit 9555433

Browse files
committed
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 parent 814c386 commit 9555433

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Fixed
1010

1111
- `GET /file_formats`: Base paramater on top of normal JSON Schema, not Process JSON Schema
12+
- `PATCH /services/{service_id}` and `PATCH /jobs/{job_id}`: Explicitly allow updating back-end specific properties (as in `POST`)
13+
- `GET /services/{service_id}` and `GET /jobs/{job_id}`: Explicitly allow listing back-end specific properties (as provided in `POST`)
1214

1315
## [1.2.0] - 2021-05-25
1416

openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,6 +2789,8 @@ paths:
27892789
$ref: '#/components/schemas/budget_update'
27902790
log_level:
27912791
$ref: '#/components/schemas/min_log_level_update'
2792+
additionalProperties:
2793+
description: You can add additional back-end specific properties here.
27922794
description: The data to change for the specified secondary web service.
27932795
get:
27942796
summary: Full metadata for a service
@@ -2810,7 +2812,9 @@ paths:
28102812
- configuration
28112813
- attributes
28122814
allOf:
2813-
- $ref: '#/components/schemas/service'
2815+
- $ref: '#/components/schemas/service'
2816+
additionalProperties:
2817+
description: You can list additional back-end specific properties here.
28142818
4XX:
28152819
$ref: '#/components/responses/client_error_auth'
28162820
5XX:
@@ -3017,6 +3021,8 @@ paths:
30173021
$ref: '#/components/schemas/budget_update'
30183022
log_level:
30193023
$ref: '#/components/schemas/min_log_level_update'
3024+
additionalProperties:
3025+
description: You can add additional back-end specific properties here.
30203026
description: Specifies the job details to update.
30213027
get:
30223028
summary: Full metadata for a batch job
@@ -3038,6 +3044,8 @@ paths:
30383044
- process
30393045
allOf:
30403046
- $ref: '#/components/schemas/batch_job'
3047+
additionalProperties:
3048+
description: You can list additional back-end specific properties here.
30413049
4XX:
30423050
$ref: '#/components/responses/client_error_auth'
30433051
5XX:

0 commit comments

Comments
 (0)