Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 2f58c24

Browse files
amenophisthaJeztah
authored andcommitted
Fix indentation in some description
Fix the indentation to allow jane-openapi generate to work Signed-off-by: Jeremy Leherpeur <jeremy.leherpeur@yousign.fr> Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit cf315bedc5d811b4200e49b477db99928ab28ee7) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 834f0f19c57342ceea99cb7495fde6b803b2dfd7 Component: engine
1 parent c025267 commit 2f58c24

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

components/engine/api/swagger.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3280,8 +3280,8 @@ definitions:
32803280
type: "object"
32813281
properties:
32823282
Mode:
3283-
description: "The mode of resolution to use for internal load balancing
3284-
between tasks."
3283+
description: |
3284+
The mode of resolution to use for internal load balancing between tasks.
32853285
type: "string"
32863286
enum:
32873287
- "vip"
@@ -6453,10 +6453,11 @@ paths:
64536453
type: "string"
64546454
- name: "networkmode"
64556455
in: "query"
6456-
description: "Sets the networking mode for the run commands during
6457-
build. Supported standard values are: `bridge`, `host`, `none`, and
6458-
`container:<name|id>`. Any other value is taken as a custom network's
6459-
name to which this container should connect to."
6456+
description: |
6457+
Sets the networking mode for the run commands during build. Supported
6458+
standard values are: `bridge`, `host`, `none`, and `container:<name|id>`.
6459+
Any other value is taken as a custom network's name or ID to which this
6460+
container should connect to.
64606461
type: "string"
64616462
- name: "Content-type"
64626463
in: "header"
@@ -9545,17 +9546,19 @@ paths:
95459546
type: "integer"
95469547
- name: "registryAuthFrom"
95479548
in: "query"
9549+
description: |
9550+
If the `X-Registry-Auth` header is not specified, this parameter
9551+
indicates where to find registry authorization credentials.
95489552
type: "string"
9549-
description: "If the X-Registry-Auth header is not specified, this
9550-
parameter indicates where to find registry authorization credentials. The
9551-
valid values are `spec` and `previous-spec`."
9553+
enum: ["spec", "previous-spec"]
95529554
default: "spec"
95539555
- name: "rollback"
95549556
in: "query"
9557+
description: |
9558+
Set to this parameter to `previous` to cause a server-side rollback
9559+
to the previous service spec. The supplied spec will be ignored in
9560+
this case.
95559561
type: "string"
9556-
description: "Set to this parameter to `previous` to cause a
9557-
server-side rollback to the previous service spec. The supplied spec will be
9558-
ignored in this case."
95599562
- name: "X-Registry-Auth"
95609563
in: "header"
95619564
description: "A base64-encoded auth configuration for pulling from private registries. [See the authentication section for details.](#section/Authentication)"

0 commit comments

Comments
 (0)