Skip to content

Commit

Permalink
Add context to openapi spec for Run to align with type (#2020)
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Holmberg <sam@holmberg.dev>
  • Loading branch information
Esaych authored Jun 21, 2022
1 parent f68b510 commit f1645f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,10 @@ components:
type: array
items:
$ref: '#/components/schemas/DatasetVersionId'
context:
description: A key/value pair that must be of type `string`. A context can be used for getting additional details about the job.
type: object
deprecated: true
facets:
$ref: '#/components/schemas/RunFacets'
example:
Expand All @@ -1582,6 +1586,7 @@ components:
endedAt: 2019-05-09T20:05:46.815920Z
durationMs: 4250894125
args: {'email': 'me@example.com', 'emailOnFailure': 'false', 'emailOnRetry': 'true', 'retries': '1'}
context: {'SQL': "SELECT * FROM mytable;"}
facets: {}

RunList:
Expand Down

0 comments on commit f1645f9

Please sign in to comment.