Skip to content

Commit

Permalink
Merge pull request #47295 from vvoland/api-build-version-25
Browse files Browse the repository at this point in the history
[25.0 backport] api: Document `version` in `/build`
  • Loading branch information
thaJeztah committed Feb 1, 2024
2 parents cf03e96 + c48b671 commit 91a8312
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/swagger.yaml
Expand Up @@ -8327,6 +8327,16 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.38.yaml
Expand Up @@ -6356,6 +6356,16 @@ paths:
description: "Target build stage"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.39.yaml
Expand Up @@ -7390,6 +7390,16 @@ paths:
description: "Target build stage"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.40.yaml
Expand Up @@ -7701,6 +7701,16 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.41.yaml
Expand Up @@ -7906,6 +7906,16 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.42.yaml
Expand Up @@ -8156,6 +8156,16 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.43.yaml
Expand Up @@ -8174,6 +8174,16 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) builder in the Docker daemon (default)
- `2` is [BuildKit](https://github.com/moby/buildkit)
responses:
200:
description: "no error"
Expand Down
10 changes: 10 additions & 0 deletions docs/api/v1.44.yaml
Expand Up @@ -8327,6 +8327,16 @@ paths:
description: "BuildKit output configuration"
type: "string"
default: ""
- name: "version"
in: "query"
type: "string"
default: "1"
enum: ["1", "2"]
description: |
Version of the builder backend to use.
- `1` is the first generation classic (deprecated) 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 91a8312

Please sign in to comment.