JobsetInputs: update schema to align with the API
`PUT /jobsets/{project-id}/{jobset-id}` expects a JSON object `inputs` which maps a name to a name, a type, a value, and a boolean that enables emailing responsible parties. However, `GET /jobsets/{project-id}/{jobset-id}` responds with an object that doesn't contain a value, but does contain a jobsetinputalts (which is old and should be unused). This commit aligns the two by removing the old and unused `jobsetinputalts` from the response and replaces it with `value`.
This commit is contained in:
committed by
Graham Christensen
parent
fff0db10e3
commit
d23f431889
@ -589,17 +589,15 @@ components:
|
||||
name:
|
||||
description: name of the input
|
||||
type: string
|
||||
value:
|
||||
description: value of the input
|
||||
type: string
|
||||
type:
|
||||
description: type of input
|
||||
type: string
|
||||
emailresponsible:
|
||||
description: whether or not to email responsible parties
|
||||
type: boolean
|
||||
jobsetinputalts:
|
||||
type: array
|
||||
description: ???
|
||||
items:
|
||||
type: string
|
||||
|
||||
Jobset:
|
||||
type: object
|
||||
|
Reference in New Issue
Block a user