Browse code

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>

Jérémy Leherpeur authored on 2019/01/31 00:25:40
Showing 1 changed files
... ...
@@ -3280,8 +3280,8 @@ definitions:
3280 3280
     type: "object"
3281 3281
     properties:
3282 3282
       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.
3285 3285
         type: "string"
3286 3286
         enum:
3287 3287
           - "vip"
... ...
@@ -6453,10 +6453,11 @@ paths:
6453 6453
           type: "string"
6454 6454
         - name: "networkmode"
6455 6455
           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.
6460 6461
           type: "string"
6461 6462
         - name: "Content-type"
6462 6463
           in: "header"
... ...
@@ -9545,17 +9546,19 @@ paths:
9545 9545
           type: "integer"
9546 9546
         - name: "registryAuthFrom"
9547 9547
           in: "query"
9548
+          description: |
9549
+            If the `X-Registry-Auth` header is not specified, this parameter
9550
+            indicates where to find registry authorization credentials.
9548 9551
           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`."
9552
+          enum: ["spec", "previous-spec"]
9552 9553
           default: "spec"
9553 9554
         - name: "rollback"
9554 9555
           in: "query"
9556
+          description: |
9557
+            Set to this parameter to `previous` to cause a server-side rollback
9558
+            to the previous service spec. The supplied spec will be ignored in
9559
+            this case.
9555 9560
           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."
9559 9561
         - name: "X-Registry-Auth"
9560 9562
           in: "header"
9561 9563
           description: "A base64-encoded auth configuration for pulling from private registries. [See the authentication section for details.](#section/Authentication)"