Skip to content

Commit

Permalink
[shim] Update OpenAPI doc (#2085)
Browse files Browse the repository at this point in the history
Remove deprecated `/pull` response fields removed in `ea0054f`

See: #2060
  • Loading branch information
un-def authored Dec 12, 2024
1 parent 5746589 commit 8d82a35
Showing 1 changed file with 1 addition and 58 deletions.
59 changes: 1 addition & 58 deletions runner/docs/shim.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.1.1

info:
title: dstack-shim API
version: &shim-version 0.18.29
version: &shim-version 0.18.30

servers:
- url: http://localhost:10998/api
Expand Down Expand Up @@ -253,63 +253,6 @@ components:
- $ref: "#/components/schemas/RunnerStatus"
- examples:
- pending
executor_error:
deprecated: true
type: string
default: ""
description: >
A line from the `runner.log` containing `Executor failed` substring (if any).
Not used by `dstack` server
container_name:
deprecated: true
type: string
examples:
- horrible-mule-1-0-0
status:
deprecated: true
type: string
examples:
- exited
description: >
`State.Status` from Docker API. Not used by `dstack` server
running:
deprecated: true
type: boolean
examples:
- false
description: >
`State.Running` from Docker API. Not used by `dstack` server
oom_killed:
deprecated: true
type: boolean
examples:
- false
description: >
`State.OOMKilled` from Docker API. Not used by `dstack` server
dead:
deprecated: true
type: boolean
examples:
- false
description: >
`State.Dead` from Docker API. Not used by `dstack` server
exit_code:
deprecated: true
type: integer
minimum: 0
maximum: 255
description: >
`State.ExitCode` from Docker API. Not used by `dstack` server
examples:
- 137
error:
deprecated: true
type: string
description: >
Either `State.Error` from Docker API or the same as `result.reason_message`.
Not used by `dstack` server
examples:
- ""
result:
allOf:
- $ref: "#/components/schemas/JobResult"
Expand Down

0 comments on commit 8d82a35

Please sign in to comment.