Skip to content

Commit

Permalink
api: Document version in /build
Browse files Browse the repository at this point in the history
It was introduced in API v1.38 but wasn't documented.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 717f617)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
  • Loading branch information
vvoland committed Jan 31, 2024
1 parent 667bc3f commit 1d2a6c5
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8327,6 +8327,15 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.
- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.38.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6356,6 +6356,15 @@ paths:
description: "Target build stage"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.
- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7390,6 +7390,15 @@ paths:
description: "Target build stage"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.
- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.40.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7701,6 +7701,15 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.
- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.41.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7906,6 +7906,15 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.
- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.42.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8156,6 +8156,15 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.
- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.43.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8174,6 +8174,15 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.

- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
9 changes: 9 additions & 0 deletions docs/api/v1.44.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8327,6 +8327,15 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
description: |
Version of the builder backend to use.

- `1` is the first generation classic builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down

0 comments on commit 1d2a6c5

Please sign in to comment.