Browse code

docs: sync API v1.40 swagger formatting with current version

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 01244e85e72f99740754c6feac9b4ac4ead052d4)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/07/03 22:42:41
Showing 1 changed files
... ...
@@ -26,13 +26,19 @@ info:
26 26
   x-logo:
27 27
     url: "https://docs.docker.com/images/logo-docker-main.png"
28 28
   description: |
29
-    The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API.
29
+    The Engine API is an HTTP API served by Docker Engine. It is the API the
30
+    Docker client uses to communicate with the Engine, so everything the Docker
31
+    client can do can be done with the API.
30 32
 
31
-    Most of the client's commands map directly to API endpoints (e.g. `docker ps` is `GET /containers/json`). The notable exception is running containers, which consists of several API calls.
33
+    Most of the client's commands map directly to API endpoints (e.g. `docker ps`
34
+    is `GET /containers/json`). The notable exception is running containers,
35
+    which consists of several API calls.
32 36
 
33 37
     # Errors
34 38
 
35
-    The API uses standard HTTP status codes to indicate the success or failure of the API call. The body of the response will be JSON in the following format:
39
+    The API uses standard HTTP status codes to indicate the success or failure
40
+    of the API call. The body of the response will be JSON in the following
41
+    format:
36 42
 
37 43
     ```
38 44
     {
... ...
@@ -65,7 +71,11 @@ info:
65 65
 
66 66
     # Authentication
67 67
 
68
-    Authentication for registries is handled client side. The client has to send authentication details to various endpoints that need to communicate with registries, such as `POST /images/(name)/push`. These are sent as `X-Registry-Auth` header as a Base64 encoded (JSON) string with the following structure:
68
+    Authentication for registries is handled client side. The client has to send
69
+    authentication details to various endpoints that need to communicate with
70
+    registries, such as `POST /images/(name)/push`. These are sent as
71
+    `X-Registry-Auth` header as a [base64url encoded](https://tools.ietf.org/html/rfc4648#section-5)
72
+    (JSON) string with the following structure:
69 73
 
70 74
     ```
71 75
     {
... ...
@@ -76,9 +86,11 @@ info:
76 76
     }
77 77
     ```
78 78
 
79
-    The `serveraddress` is a domain/IP without a protocol. Throughout this structure, double quotes are required.
79
+    The `serveraddress` is a domain/IP without a protocol. Throughout this
80
+    structure, double quotes are required.
80 81
 
81
-    If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth), you can just pass this instead of credentials:
82
+    If you have already got an identity token from the [`/auth` endpoint](#operation/SystemAuth),
83
+    you can just pass this instead of credentials:
82 84
 
83 85
     ```
84 86
     {
... ...
@@ -104,7 +116,9 @@ tags:
104 104
   - name: "Network"
105 105
     x-displayName: "Networks"
106 106
     description: |
107
-      Networks are user-defined networks that containers can be attached to. See the [networking documentation](https://docs.docker.com/engine/userguide/networking/) for more information.
107
+      Networks are user-defined networks that containers can be attached to.
108
+      See the [networking documentation](https://docs.docker.com/network/)
109
+      for more information.
108 110
   - name: "Volume"
109 111
     x-displayName: "Volumes"
110 112
     description: |
... ...
@@ -112,34 +126,46 @@ tags:
112 112
   - name: "Exec"
113 113
     x-displayName: "Exec"
114 114
     description: |
115
-      Run new commands inside running containers. See the [command-line reference](https://docs.docker.com/engine/reference/commandline/exec/) for more information.
115
+      Run new commands inside running containers. Refer to the
116
+      [command-line reference](https://docs.docker.com/engine/reference/commandline/exec/)
117
+      for more information.
118
+
119
+      To exec a command in a container, you first need to create an exec instance,
120
+      then start it. These two API endpoints are wrapped up in a single command-line
121
+      command, `docker exec`.
116 122
 
117
-      To exec a command in a container, you first need to create an exec instance, then start it. These two API endpoints are wrapped up in a single command-line command, `docker exec`.
118 123
   # Swarm things
119 124
   - name: "Swarm"
120 125
     x-displayName: "Swarm"
121 126
     description: |
122
-      Engines can be clustered together in a swarm. See [the swarm mode documentation](https://docs.docker.com/engine/swarm/) for more information.
127
+      Engines can be clustered together in a swarm. Refer to the
128
+      [swarm mode documentation](https://docs.docker.com/engine/swarm/)
129
+      for more information.
123 130
   - name: "Node"
124 131
     x-displayName: "Nodes"
125 132
     description: |
126
-      Nodes are instances of the Engine participating in a swarm. Swarm mode must be enabled for these endpoints to work.
133
+      Nodes are instances of the Engine participating in a swarm. Swarm mode
134
+      must be enabled for these endpoints to work.
127 135
   - name: "Service"
128 136
     x-displayName: "Services"
129 137
     description: |
130
-      Services are the definitions of tasks to run on a swarm. Swarm mode must be enabled for these endpoints to work.
138
+      Services are the definitions of tasks to run on a swarm. Swarm mode must
139
+      be enabled for these endpoints to work.
131 140
   - name: "Task"
132 141
     x-displayName: "Tasks"
133 142
     description: |
134
-      A task is a container running on a swarm. It is the atomic scheduling unit of swarm. Swarm mode must be enabled for these endpoints to work.
143
+      A task is a container running on a swarm. It is the atomic scheduling unit
144
+      of swarm. Swarm mode must be enabled for these endpoints to work.
135 145
   - name: "Secret"
136 146
     x-displayName: "Secrets"
137 147
     description: |
138
-      Secrets are sensitive data that can be used by services. Swarm mode must be enabled for these endpoints to work.
148
+      Secrets are sensitive data that can be used by services. Swarm mode must
149
+      be enabled for these endpoints to work.
139 150
   - name: "Config"
140 151
     x-displayName: "Configs"
141 152
     description: |
142
-      Configs are application configurations that can be used by services. Swarm mode must be enabled for these endpoints to work.
153
+      Configs are application configurations that can be used by services. Swarm
154
+      mode must be enabled for these endpoints to work.
143 155
   # System things
144 156
   - name: "Plugin"
145 157
     x-displayName: "Plugins"
... ...
@@ -345,9 +371,11 @@ definitions:
345 345
 
346 346
   RestartPolicy:
347 347
     description: |
348
-      The behavior to apply when the container exits. The default is not to restart.
348
+      The behavior to apply when the container exits. The default is not to
349
+      restart.
349 350
 
350
-      An ever increasing delay (double the previous delay, starting at 100ms) is added before each restart to prevent flooding the server.
351
+      An ever increasing delay (double the previous delay, starting at 100ms) is
352
+      added before each restart to prevent flooding the server.
351 353
     type: "object"
352 354
     properties:
353 355
       Name:
... ...
@@ -364,7 +392,8 @@ definitions:
364 364
           - "on-failure"
365 365
       MaximumRetryCount:
366 366
         type: "integer"
367
-        description: "If `on-failure` is used, the number of times to retry before giving up"
367
+        description: |
368
+          If `on-failure` is used, the number of times to retry before giving up.
368 369
 
369 370
   Resources:
370 371
     description: "A container's resources (cgroups config, ulimits, etc)"
... ...
@@ -372,7 +401,9 @@ definitions:
372 372
     properties:
373 373
       # Applicable to all platforms
374 374
       CpuShares:
375
-        description: "An integer value representing this container's relative CPU weight versus other containers."
375
+        description: |
376
+          An integer value representing this container's relative CPU weight
377
+          versus other containers.
376 378
         type: "integer"
377 379
       Memory:
378 380
         description: "Memory limit in bytes."
... ...
@@ -381,7 +412,11 @@ definitions:
381 381
         default: 0
382 382
       # Applicable to UNIX platforms
383 383
       CgroupParent:
384
-        description: "Path to `cgroups` under which the container's `cgroup` is created. If the path is not absolute, the path is considered to be relative to the `cgroups` path of the init process. Cgroups are created if they do not already exist."
384
+        description: |
385
+          Path to `cgroups` under which the container's `cgroup` is created. If
386
+          the path is not absolute, the path is considered to be relative to the
387
+          `cgroups` path of the init process. Cgroups are created if they do not
388
+          already exist.
385 389
         type: "string"
386 390
       BlkioWeight:
387 391
         description: "Block IO weight (relative weight)."
... ...
@@ -390,7 +425,11 @@ definitions:
390 390
         maximum: 1000
391 391
       BlkioWeightDevice:
392 392
         description: |
393
-          Block IO weight (relative device weight) in the form `[{"Path": "device_path", "Weight": weight}]`.
393
+          Block IO weight (relative device weight) in the form:
394
+
395
+          ```
396
+          [{"Path": "device_path", "Weight": weight}]
397
+          ```
394 398
         type: "array"
395 399
         items:
396 400
           type: "object"
... ...
@@ -402,25 +441,41 @@ definitions:
402 402
               minimum: 0
403 403
       BlkioDeviceReadBps:
404 404
         description: |
405
-          Limit read rate (bytes per second) from a device, in the form `[{"Path": "device_path", "Rate": rate}]`.
405
+          Limit read rate (bytes per second) from a device, in the form:
406
+
407
+          ```
408
+          [{"Path": "device_path", "Rate": rate}]
409
+          ```
406 410
         type: "array"
407 411
         items:
408 412
           $ref: "#/definitions/ThrottleDevice"
409 413
       BlkioDeviceWriteBps:
410 414
         description: |
411
-          Limit write rate (bytes per second) to a device, in the form `[{"Path": "device_path", "Rate": rate}]`.
415
+          Limit write rate (bytes per second) to a device, in the form:
416
+
417
+          ```
418
+          [{"Path": "device_path", "Rate": rate}]
419
+          ```
412 420
         type: "array"
413 421
         items:
414 422
           $ref: "#/definitions/ThrottleDevice"
415 423
       BlkioDeviceReadIOps:
416 424
         description: |
417
-          Limit read rate (IO per second) from a device, in the form `[{"Path": "device_path", "Rate": rate}]`.
425
+          Limit read rate (IO per second) from a device, in the form:
426
+
427
+          ```
428
+          [{"Path": "device_path", "Rate": rate}]
429
+          ```
418 430
         type: "array"
419 431
         items:
420 432
           $ref: "#/definitions/ThrottleDevice"
421 433
       BlkioDeviceWriteIOps:
422 434
         description: |
423
-          Limit write rate (IO per second) to a device, in the form `[{"Path": "device_path", "Rate": rate}]`.
435
+          Limit write rate (IO per second) to a device, in the form:
436
+
437
+          ```
438
+          [{"Path": "device_path", "Rate": rate}]
439
+          ```
424 440
         type: "array"
425 441
         items:
426 442
           $ref: "#/definitions/ThrottleDevice"
... ...
@@ -429,23 +484,31 @@ definitions:
429 429
         type: "integer"
430 430
         format: "int64"
431 431
       CpuQuota:
432
-        description: "Microseconds of CPU time that the container can get in a CPU period."
432
+        description: |
433
+          Microseconds of CPU time that the container can get in a CPU period.
433 434
         type: "integer"
434 435
         format: "int64"
435 436
       CpuRealtimePeriod:
436
-        description: "The length of a CPU real-time period in microseconds. Set to 0 to allocate no time allocated to real-time tasks."
437
+        description: |
438
+          The length of a CPU real-time period in microseconds. Set to 0 to
439
+          allocate no time allocated to real-time tasks.
437 440
         type: "integer"
438 441
         format: "int64"
439 442
       CpuRealtimeRuntime:
440
-        description: "The length of a CPU real-time runtime in microseconds. Set to 0 to allocate no time allocated to real-time tasks."
443
+        description: |
444
+          The length of a CPU real-time runtime in microseconds. Set to 0 to
445
+          allocate no time allocated to real-time tasks.
441 446
         type: "integer"
442 447
         format: "int64"
443 448
       CpusetCpus:
444
-        description: "CPUs in which to allow execution (e.g., `0-3`, `0,1`)"
449
+        description: |
450
+          CPUs in which to allow execution (e.g., `0-3`, `0,1`).
445 451
         type: "string"
446 452
         example: "0-3"
447 453
       CpusetMems:
448
-        description: "Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems."
454
+        description: |
455
+          Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only
456
+          effective on NUMA systems.
449 457
         type: "string"
450 458
       Devices:
451 459
         description: "A list of devices to add to the container."
... ...
@@ -459,7 +522,8 @@ definitions:
459 459
           type: "string"
460 460
           example: "c 13:* rwm"
461 461
       DeviceRequests:
462
-        description: "a list of requests for devices to be sent to device drivers"
462
+        description: |
463
+          A list of requests for devices to be sent to device drivers.
463 464
         type: "array"
464 465
         items:
465 466
           $ref: "#/definitions/DeviceRequest"
... ...
@@ -477,11 +541,15 @@ definitions:
477 477
         type: "integer"
478 478
         format: "int64"
479 479
       MemorySwap:
480
-        description: "Total memory limit (memory + swap). Set as `-1` to enable unlimited swap."
480
+        description: |
481
+          Total memory limit (memory + swap). Set as `-1` to enable unlimited
482
+          swap.
481 483
         type: "integer"
482 484
         format: "int64"
483 485
       MemorySwappiness:
484
-        description: "Tune a container's memory swappiness behavior. Accepts an integer between 0 and 100."
486
+        description: |
487
+          Tune a container's memory swappiness behavior. Accepts an integer
488
+          between 0 and 100.
485 489
         type: "integer"
486 490
         format: "int64"
487 491
         minimum: 0
... ...
@@ -494,18 +562,26 @@ definitions:
494 494
         description: "Disable OOM Killer for the container."
495 495
         type: "boolean"
496 496
       Init:
497
-        description: "Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used."
497
+        description: |
498
+          Run an init inside the container that forwards signals and reaps
499
+          processes. This field is omitted if empty, and the default (as
500
+          configured on the daemon) is used.
498 501
         type: "boolean"
499 502
         x-nullable: true
500 503
       PidsLimit:
501 504
         description: |
502
-          Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null` to not change.
505
+          Tune a container's PIDs limit. Set `0` or `-1` for unlimited, or `null`
506
+          to not change.
503 507
         type: "integer"
504 508
         format: "int64"
505 509
         x-nullable: true
506 510
       Ulimits:
507 511
         description: |
508
-          A list of resource limits to set in the container. For example: `{"Name": "nofile", "Soft": 1024, "Hard": 2048}`"
512
+          A list of resource limits to set in the container. For example:
513
+
514
+          ```
515
+          {"Name": "nofile", "Soft": 1024, "Hard": 2048}
516
+          ```
509 517
         type: "array"
510 518
         items:
511 519
           type: "object"
... ...
@@ -524,14 +600,18 @@ definitions:
524 524
         description: |
525 525
           The number of usable CPUs (Windows only).
526 526
 
527
-          On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last.
527
+          On Windows Server containers, the processor resource controls are
528
+          mutually exclusive. The order of precedence is `CPUCount` first, then
529
+          `CPUShares`, and `CPUPercent` last.
528 530
         type: "integer"
529 531
         format: "int64"
530 532
       CpuPercent:
531 533
         description: |
532 534
           The usable percentage of the available CPUs (Windows only).
533 535
 
534
-          On Windows Server containers, the processor resource controls are mutually exclusive. The order of precedence is `CPUCount` first, then `CPUShares`, and `CPUPercent` last.
536
+          On Windows Server containers, the processor resource controls are
537
+          mutually exclusive. The order of precedence is `CPUCount` first, then
538
+          `CPUShares`, and `CPUPercent` last.
535 539
         type: "integer"
536 540
         format: "int64"
537 541
       IOMaximumIOps:
... ...
@@ -539,12 +619,16 @@ definitions:
539 539
         type: "integer"
540 540
         format: "int64"
541 541
       IOMaximumBandwidth:
542
-        description: "Maximum IO in bytes per second for the container system drive (Windows only)"
542
+        description: |
543
+          Maximum IO in bytes per second for the container system drive
544
+          (Windows only).
543 545
         type: "integer"
544 546
         format: "int64"
545 547
 
546 548
   ResourceObject:
547
-    description: "An object describing the resources which can be advertised by a node and requested by a task"
549
+    description: |
550
+      An object describing the resources which can be advertised by a node and
551
+      requested by a task.
548 552
     type: "object"
549 553
     properties:
550 554
       NanoCPUs:
... ...
@@ -559,7 +643,9 @@ definitions:
559 559
         $ref: "#/definitions/GenericResources"
560 560
 
561 561
   GenericResources:
562
-    description: "User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, `GPU=UUID1`)"
562
+    description: |
563
+      User-defined resources can be either Integer resources (e.g, `SSD=3`) or
564
+      String resources (e.g, `GPU=UUID1`).
563 565
     type: "array"
564 566
     items:
565 567
       type: "object"
... ...
@@ -606,16 +692,25 @@ definitions:
606 606
         items:
607 607
           type: "string"
608 608
       Interval:
609
-        description: "The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit."
609
+        description: |
610
+          The time to wait between checks in nanoseconds. It should be 0 or at
611
+          least 1000000 (1 ms). 0 means inherit.
610 612
         type: "integer"
611 613
       Timeout:
612
-        description: "The time to wait before considering the check to have hung. It should be 0 or at least 1000000 (1 ms). 0 means inherit."
614
+        description: |
615
+          The time to wait before considering the check to have hung. It should
616
+          be 0 or at least 1000000 (1 ms). 0 means inherit.
613 617
         type: "integer"
614 618
       Retries:
615
-        description: "The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit."
619
+        description: |
620
+          The number of consecutive failures needed to consider a container as
621
+          unhealthy. 0 means inherit.
616 622
         type: "integer"
617 623
       StartPeriod:
618
-        description: "Start period for the container to initialize before starting health-retries countdown in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit."
624
+        description: |
625
+          Start period for the container to initialize before starting
626
+          health-retries countdown in nanoseconds. It should be 0 or at least
627
+          1000000 (1 ms). 0 means inherit.
619 628
         type: "integer"
620 629
 
621 630
   Health:
... ...
@@ -758,25 +853,33 @@ definitions:
758 758
                   type: "string"
759 759
           NetworkMode:
760 760
             type: "string"
761
-            description: "Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken
762
-              as a custom network's name to which this container should connect to."
761
+            description: |
762
+              Network mode to use for this container. Supported standard values
763
+              are: `bridge`, `host`, `none`, and `container:<name|id>`. Any
764
+              other value is taken as a custom network's name to which this
765
+              container should connect to.
763 766
           PortBindings:
764 767
             $ref: "#/definitions/PortMap"
765 768
           RestartPolicy:
766 769
             $ref: "#/definitions/RestartPolicy"
767 770
           AutoRemove:
768 771
             type: "boolean"
769
-            description: "Automatically remove the container when the container's process exits. This has no effect if `RestartPolicy` is set."
772
+            description: |
773
+              Automatically remove the container when the container's process
774
+              exits. This has no effect if `RestartPolicy` is set.
770 775
           VolumeDriver:
771 776
             type: "string"
772 777
             description: "Driver that this container uses to mount volumes."
773 778
           VolumesFrom:
774 779
             type: "array"
775
-            description: "A list of volumes to inherit from another container, specified in the form `<container name>[:<ro|rw>]`."
780
+            description: |
781
+              A list of volumes to inherit from another container, specified in
782
+              the form `<container name>[:<ro|rw>]`.
776 783
             items:
777 784
               type: "string"
778 785
           Mounts:
779
-            description: "Specification for mounts to be added to the container."
786
+            description: |
787
+              Specification for mounts to be added to the container.
780 788
             type: "array"
781 789
             items:
782 790
               $ref: "#/definitions/Mount"
... ...
@@ -785,19 +888,24 @@ definitions:
785 785
           Capabilities:
786 786
             type: "array"
787 787
             description: |
788
-              A list of kernel capabilities to be available for container (this overrides the default set).
788
+              A list of kernel capabilities to be available for container (this
789
+              overrides the default set).
789 790
 
790 791
               Conflicts with options 'CapAdd' and 'CapDrop'"
791 792
             items:
792 793
               type: "string"
793 794
           CapAdd:
794 795
             type: "array"
795
-            description: "A list of kernel capabilities to add to the container. Conflicts with option 'Capabilities'"
796
+            description: |
797
+              A list of kernel capabilities to add to the container. Conflicts
798
+              with option 'Capabilities'.
796 799
             items:
797 800
               type: "string"
798 801
           CapDrop:
799 802
             type: "array"
800
-            description: "A list of kernel capabilities to drop from the container. Conflicts with option 'Capabilities'"
803
+            description: |
804
+              A list of kernel capabilities to drop from the container. Conflicts
805
+              with option 'Capabilities'.
801 806
             items:
802 807
               type: "string"
803 808
           Dns:
... ...
@@ -818,43 +926,49 @@ definitions:
818 818
           ExtraHosts:
819 819
             type: "array"
820 820
             description: |
821
-              A list of hostnames/IP mappings to add to the container's `/etc/hosts` file. Specified in the form `["hostname:IP"]`.
821
+              A list of hostnames/IP mappings to add to the container's `/etc/hosts`
822
+              file. Specified in the form `["hostname:IP"]`.
822 823
             items:
823 824
               type: "string"
824 825
           GroupAdd:
825 826
             type: "array"
826
-            description: "A list of additional groups that the container process will run as."
827
+            description: |
828
+              A list of additional groups that the container process will run as.
827 829
             items:
828 830
               type: "string"
829 831
           IpcMode:
830 832
             type: "string"
831 833
             description: |
832
-                    IPC sharing mode for the container. Possible values are:
834
+              IPC sharing mode for the container. Possible values are:
833 835
 
834
-                    - `"none"`: own private IPC namespace, with /dev/shm not mounted
835
-                    - `"private"`: own private IPC namespace
836
-                    - `"shareable"`: own private IPC namespace, with a possibility to share it with other containers
837
-                    - `"container:<name|id>"`: join another (shareable) container's IPC namespace
838
-                    - `"host"`: use the host system's IPC namespace
836
+              - `"none"`: own private IPC namespace, with /dev/shm not mounted
837
+              - `"private"`: own private IPC namespace
838
+              - `"shareable"`: own private IPC namespace, with a possibility to share it with other containers
839
+              - `"container:<name|id>"`: join another (shareable) container's IPC namespace
840
+              - `"host"`: use the host system's IPC namespace
839 841
 
840
-                    If not specified, daemon default is used, which can either be `"private"`
841
-                    or `"shareable"`, depending on daemon version and configuration.
842
+              If not specified, daemon default is used, which can either be `"private"`
843
+              or `"shareable"`, depending on daemon version and configuration.
842 844
           Cgroup:
843 845
             type: "string"
844 846
             description: "Cgroup to use for the container."
845 847
           Links:
846 848
             type: "array"
847
-            description: "A list of links for the container in the form `container_name:alias`."
849
+            description: |
850
+              A list of links for the container in the form `container_name:alias`.
848 851
             items:
849 852
               type: "string"
850 853
           OomScoreAdj:
851 854
             type: "integer"
852
-            description: "An integer value containing the score given to the container in order to tune OOM killer preferences."
855
+            description: |
856
+              An integer value containing the score given to the container in
857
+              order to tune OOM killer preferences.
853 858
             example: 500
854 859
           PidMode:
855 860
             type: "string"
856 861
             description: |
857
-              Set the PID (Process) Namespace mode for the container. It can be either:
862
+              Set the PID (Process) Namespace mode for the container. It can be
863
+              either:
858 864
 
859 865
               - `"container:<name|id>"`: joins another container's PID namespace
860 866
               - `"host"`: use the host's PID namespace inside the container
... ...
@@ -867,11 +981,13 @@ definitions:
867 867
               Allocates an ephemeral host port for all of a container's
868 868
               exposed ports.
869 869
 
870
-              Ports are de-allocated when the container stops and allocated when the container starts.
871
-              The allocated port might be changed when restarting the container.
870
+              Ports are de-allocated when the container stops and allocated when
871
+              the container starts. The allocated port might be changed when
872
+              restarting the container.
872 873
 
873
-              The port is selected from the ephemeral port range that depends on the kernel.
874
-              For example, on Linux the range is defined by `/proc/sys/net/ipv4/ip_local_port_range`.
874
+              The port is selected from the ephemeral port range that depends on
875
+              the kernel. For example, on Linux the range is defined by
876
+              `/proc/sys/net/ipv4/ip_local_port_range`.
875 877
           ReadonlyRootfs:
876 878
             type: "boolean"
877 879
             description: "Mount the container's root filesystem as read only."
... ...
@@ -890,7 +1006,12 @@ definitions:
890 890
           Tmpfs:
891 891
             type: "object"
892 892
             description: |
893
-              A map of container directories which should be replaced by tmpfs mounts, and their corresponding mount options. For example: `{ "/run": "rw,noexec,nosuid,size=65536k" }`.
893
+              A map of container directories which should be replaced by tmpfs
894
+              mounts, and their corresponding mount options. For example:
895
+
896
+              ```
897
+              { "/run": "rw,noexec,nosuid,size=65536k" }
898
+              ```
894 899
             additionalProperties:
895 900
               type: "string"
896 901
           UTSMode:
... ...
@@ -898,15 +1019,23 @@ definitions:
898 898
             description: "UTS namespace to use for the container."
899 899
           UsernsMode:
900 900
             type: "string"
901
-            description: "Sets the usernamespace mode for the container when usernamespace remapping option is enabled."
901
+            description: |
902
+              Sets the usernamespace mode for the container when usernamespace
903
+              remapping option is enabled.
902 904
           ShmSize:
903 905
             type: "integer"
904
-            description: "Size of `/dev/shm` in bytes. If omitted, the system uses 64MB."
906
+            description: |
907
+              Size of `/dev/shm` in bytes. If omitted, the system uses 64MB.
905 908
             minimum: 0
906 909
           Sysctls:
907 910
             type: "object"
908 911
             description: |
909
-              A list of kernel parameters (sysctls) to set in the container. For example: `{"net.ipv4.ip_forward": "1"}`
912
+              A list of kernel parameters (sysctls) to set in the container.
913
+              For example:
914
+
915
+              ```
916
+              {"net.ipv4.ip_forward": "1"}
917
+              ```
910 918
             additionalProperties:
911 919
               type: "string"
912 920
           Runtime:
... ...
@@ -915,7 +1044,8 @@ definitions:
915 915
           # Applicable to Windows
916 916
           ConsoleSize:
917 917
             type: "array"
918
-            description: "Initial console size, as an `[height, width]` array. (Windows only)"
918
+            description: |
919
+              Initial console size, as an `[height, width]` array. (Windows only)
919 920
             minItems: 2
920 921
             maxItems: 2
921 922
             items:
... ...
@@ -923,19 +1053,24 @@ definitions:
923 923
               minimum: 0
924 924
           Isolation:
925 925
             type: "string"
926
-            description: "Isolation technology of the container. (Windows only)"
926
+            description: |
927
+              Isolation technology of the container. (Windows only)
927 928
             enum:
928 929
               - "default"
929 930
               - "process"
930 931
               - "hyperv"
931 932
           MaskedPaths:
932 933
             type: "array"
933
-            description: "The list of paths to be masked inside the container (this overrides the default set of paths)"
934
+            description: |
935
+              The list of paths to be masked inside the container (this overrides
936
+              the default set of paths).
934 937
             items:
935 938
               type: "string"
936 939
           ReadonlyPaths:
937 940
             type: "array"
938
-            description: "The list of paths to be set as read-only inside the container (this overrides the default set of paths)"
941
+            description: |
942
+              The list of paths to be set as read-only inside the container
943
+              (this overrides the default set of paths).
939 944
             items:
940 945
               type: "string"
941 946
 
... ...
@@ -976,7 +1111,8 @@ definitions:
976 976
             - {}
977 977
           default: {}
978 978
       Tty:
979
-        description: "Attach standard streams to a TTY, including `stdin` if it is not closed."
979
+        description: |
980
+          Attach standard streams to a TTY, including `stdin` if it is not closed.
980 981
         type: "boolean"
981 982
         default: false
982 983
       OpenStdin:
... ...
@@ -989,12 +1125,15 @@ definitions:
989 989
         default: false
990 990
       Env:
991 991
         description: |
992
-          A list of environment variables to set inside the container in the form `["VAR=value", ...]`. A variable without `=` is removed from the environment, rather than to have an empty value.
992
+          A list of environment variables to set inside the container in the
993
+          form `["VAR=value", ...]`. A variable without `=` is removed from the
994
+          environment, rather than to have an empty value.
993 995
         type: "array"
994 996
         items:
995 997
           type: "string"
996 998
       Cmd:
997
-        description: "Command to run specified as a string or an array of strings."
999
+        description: |
1000
+          Command to run specified as a string or an array of strings.
998 1001
         type: "array"
999 1002
         items:
1000 1003
           type: "string"
... ...
@@ -1004,10 +1143,13 @@ definitions:
1004 1004
         description: "Command is already escaped (Windows only)"
1005 1005
         type: "boolean"
1006 1006
       Image:
1007
-        description: "The name of the image to use when creating the container"
1007
+        description: |
1008
+          The name of the image to use when creating the container/
1008 1009
         type: "string"
1009 1010
       Volumes:
1010
-        description: "An object mapping mount point paths inside the container to empty objects."
1011
+        description: |
1012
+          An object mapping mount point paths inside the container to empty
1013
+          objects.
1011 1014
         type: "object"
1012 1015
         additionalProperties:
1013 1016
           type: "object"
... ...
@@ -1021,7 +1163,9 @@ definitions:
1021 1021
         description: |
1022 1022
           The entry point for the container as a string or an array of strings.
1023 1023
 
1024
-          If the array consists of exactly one empty string (`[""]`) then the entry point is reset to system default (i.e., the entry point used by docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`).
1024
+          If the array consists of exactly one empty string (`[""]`) then the
1025
+          entry point is reset to system default (i.e., the entry point used by
1026
+          docker when there is no `ENTRYPOINT` instruction in the `Dockerfile`).
1025 1027
         type: "array"
1026 1028
         items:
1027 1029
           type: "string"
... ...
@@ -1032,7 +1176,8 @@ definitions:
1032 1032
         description: "MAC address of the container."
1033 1033
         type: "string"
1034 1034
       OnBuild:
1035
-        description: "`ONBUILD` metadata that were defined in the image's `Dockerfile`."
1035
+        description: |
1036
+          `ONBUILD` metadata that were defined in the image's `Dockerfile`.
1036 1037
         type: "array"
1037 1038
         items:
1038 1039
           type: "string"
... ...
@@ -1042,7 +1187,8 @@ definitions:
1042 1042
         additionalProperties:
1043 1043
           type: "string"
1044 1044
       StopSignal:
1045
-        description: "Signal to stop a container as a string or unsigned integer."
1045
+        description: |
1046
+          Signal to stop a container as a string or unsigned integer.
1046 1047
         type: "string"
1047 1048
         default: "SIGTERM"
1048 1049
       StopTimeout:
... ...
@@ -1050,7 +1196,8 @@ definitions:
1050 1050
         type: "integer"
1051 1051
         default: 10
1052 1052
       Shell:
1053
-        description: "Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell."
1053
+        description: |
1054
+          Shell for when `RUN`, `CMD`, and `ENTRYPOINT` uses a shell.
1054 1055
         type: "array"
1055 1056
         items:
1056 1057
           type: "string"
... ...
@@ -1497,13 +1644,16 @@ definitions:
1497 1497
           type: "string"
1498 1498
       Scope:
1499 1499
         type: "string"
1500
-        description: "The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level."
1500
+        description: |
1501
+          The level at which the volume exists. Either `global` for cluster-wide,
1502
+          or `local` for machine level.
1501 1503
         default: "local"
1502 1504
         x-nullable: false
1503 1505
         enum: ["local", "global"]
1504 1506
       Options:
1505 1507
         type: "object"
1506
-        description: "The driver specific options used when creating the volume."
1508
+        description: |
1509
+          The driver specific options used when creating the volume.
1507 1510
         additionalProperties:
1508 1511
           type: "string"
1509 1512
       UsageData:
... ...
@@ -1621,7 +1771,12 @@ definitions:
1621 1621
         type: "string"
1622 1622
         default: "default"
1623 1623
       Config:
1624
-        description: "List of IPAM configuration options, specified as a map: `{\"Subnet\": <CIDR>, \"IPRange\": <CIDR>, \"Gateway\": <IP address>, \"AuxAddress\": <device_name:IP address>}`"
1624
+        description: |
1625
+          List of IPAM configuration options, specified as a map:
1626
+
1627
+          ```
1628
+          {"Subnet": <CIDR>, "IPRange": <CIDR>, "Gateway": <IP address>, "AuxAddress": <device_name:IP address>}
1629
+          ```
1625 1630
         type: "array"
1626 1631
         items:
1627 1632
           type: "object"
... ...
@@ -1967,7 +2122,9 @@ definitions:
1967 1967
         x-nullable: false
1968 1968
         example: "tiborvass/sample-volume-plugin"
1969 1969
       Enabled:
1970
-        description: "True if the plugin is running. False if the plugin is not running, only installed."
1970
+        description:
1971
+          True if the plugin is running. False if the plugin is not running,
1972
+          only installed.
1971 1973
         type: "boolean"
1972 1974
         x-nullable: false
1973 1975
         example: true
... ...
@@ -2169,13 +2326,16 @@ definitions:
2169 2169
 
2170 2170
   ObjectVersion:
2171 2171
     description: |
2172
-      The version number of the object such as node, service, etc. This is needed to avoid conflicting writes.
2173
-      The client must send the version number along with the modified specification when updating these objects.
2174
-      This approach ensures safe concurrency and determinism in that the change on the object
2175
-      may not be applied if the version number has changed from the last read. In other words,
2176
-      if two update requests specify the same base version, only one of the requests can succeed.
2177
-      As a result, two separate update requests that happen at the same time will not
2178
-      unintentionally overwrite each other.
2172
+      The version number of the object such as node, service, etc. This is needed
2173
+      to avoid conflicting writes. The client must send the version number along
2174
+      with the modified specification when updating these objects.
2175
+
2176
+      This approach ensures safe concurrency and determinism in that the change
2177
+      on the object may not be applied if the version number has changed from the
2178
+      last read. In other words, if two update requests specify the same base
2179
+      version, only one of the requests can succeed. As a result, two separate
2180
+      update requests that happen at the same time will not unintentionally
2181
+      overwrite each other.
2179 2182
     type: "object"
2180 2183
     properties:
2181 2184
       Index:
... ...
@@ -2344,17 +2504,23 @@ definitions:
2344 2344
             Name: "vieux/sshfs:latest"
2345 2345
 
2346 2346
   TLSInfo:
2347
-    description: "Information about the issuer of leaf TLS certificates and the trusted root CA certificate"
2347
+    description: |
2348
+      Information about the issuer of leaf TLS certificates and the trusted root
2349
+      CA certificate.
2348 2350
     type: "object"
2349 2351
     properties:
2350 2352
       TrustRoot:
2351
-        description: "The root CA certificate(s) that are used to validate leaf TLS certificates"
2353
+        description: |
2354
+          The root CA certificate(s) that are used to validate leaf TLS
2355
+          certificates.
2352 2356
         type: "string"
2353 2357
       CertIssuerSubject:
2354
-        description: "The base64-url-safe-encoded raw subject bytes of the issuer"
2358
+        description:
2359
+          The base64-url-safe-encoded raw subject bytes of the issuer.
2355 2360
         type: "string"
2356 2361
       CertIssuerPublicKey:
2357
-        description: "The base64-url-safe-encoded raw public key bytes of the issuer"
2362
+        description: |
2363
+          The base64-url-safe-encoded raw public key bytes of the issuer.
2358 2364
         type: "string"
2359 2365
     example:
2360 2366
       TrustRoot: |
... ...
@@ -2450,7 +2616,9 @@ definitions:
2450 2450
         x-nullable: true
2451 2451
         properties:
2452 2452
           TaskHistoryRetentionLimit:
2453
-            description: "The number of historic tasks to keep per instance or node. If negative, never remove completed or failed tasks."
2453
+            description: |
2454
+              The number of historic tasks to keep per instance or node. If
2455
+              negative, never remove completed or failed tasks.
2454 2456
             type: "integer"
2455 2457
             format: "int64"
2456 2458
             example: 10
... ...
@@ -2464,26 +2632,34 @@ definitions:
2464 2464
             format: "uint64"
2465 2465
             example: 10000
2466 2466
           KeepOldSnapshots:
2467
-            description: "The number of snapshots to keep beyond the current snapshot."
2467
+            description: |
2468
+              The number of snapshots to keep beyond the current snapshot.
2468 2469
             type: "integer"
2469 2470
             format: "uint64"
2470 2471
           LogEntriesForSlowFollowers:
2471
-            description: "The number of log entries to keep around to sync up slow followers after a snapshot is created."
2472
+            description: |
2473
+              The number of log entries to keep around to sync up slow followers
2474
+              after a snapshot is created.
2472 2475
             type: "integer"
2473 2476
             format: "uint64"
2474 2477
             example: 500
2475 2478
           ElectionTick:
2476 2479
             description: |
2477
-              The number of ticks that a follower will wait for a message from the leader before becoming a candidate and starting an election. `ElectionTick` must be greater than `HeartbeatTick`.
2480
+              The number of ticks that a follower will wait for a message from
2481
+              the leader before becoming a candidate and starting an election.
2482
+              `ElectionTick` must be greater than `HeartbeatTick`.
2478 2483
 
2479
-              A tick currently defaults to one second, so these translate directly to seconds currently, but this is NOT guaranteed.
2484
+              A tick currently defaults to one second, so these translate
2485
+              directly to seconds currently, but this is NOT guaranteed.
2480 2486
             type: "integer"
2481 2487
             example: 3
2482 2488
           HeartbeatTick:
2483 2489
             description: |
2484
-              The number of ticks between heartbeats. Every HeartbeatTick ticks, the leader will send a heartbeat to the followers.
2490
+              The number of ticks between heartbeats. Every HeartbeatTick ticks,
2491
+              the leader will send a heartbeat to the followers.
2485 2492
 
2486
-              A tick currently defaults to one second, so these translate directly to seconds currently, but this is NOT guaranteed.
2493
+              A tick currently defaults to one second, so these translate
2494
+              directly to seconds currently, but this is NOT guaranteed.
2487 2495
             type: "integer"
2488 2496
             example: 1
2489 2497
       Dispatcher:
... ...
@@ -2492,7 +2668,8 @@ definitions:
2492 2492
         x-nullable: true
2493 2493
         properties:
2494 2494
           HeartbeatPeriod:
2495
-            description: "The delay for an agent to send a heartbeat to the dispatcher."
2495
+            description: |
2496
+              The delay for an agent to send a heartbeat to the dispatcher.
2496 2497
             type: "integer"
2497 2498
             format: "int64"
2498 2499
             example: 5000000000
... ...
@@ -2507,36 +2684,53 @@ definitions:
2507 2507
             format: "int64"
2508 2508
             example: 7776000000000000
2509 2509
           ExternalCAs:
2510
-            description: "Configuration for forwarding signing requests to an external certificate authority."
2510
+            description: |
2511
+              Configuration for forwarding signing requests to an external
2512
+              certificate authority.
2511 2513
             type: "array"
2512 2514
             items:
2513 2515
               type: "object"
2514 2516
               properties:
2515 2517
                 Protocol:
2516
-                  description: "Protocol for communication with the external CA (currently only `cfssl` is supported)."
2518
+                  description: |
2519
+                    Protocol for communication with the external CA (currently
2520
+                    only `cfssl` is supported).
2517 2521
                   type: "string"
2518 2522
                   enum:
2519 2523
                     - "cfssl"
2520 2524
                   default: "cfssl"
2521 2525
                 URL:
2522
-                  description: "URL where certificate signing requests should be sent."
2526
+                  description: |
2527
+                    URL where certificate signing requests should be sent.
2523 2528
                   type: "string"
2524 2529
                 Options:
2525
-                  description: "An object with key/value pairs that are interpreted as protocol-specific options for the external CA driver."
2530
+                  description: |
2531
+                    An object with key/value pairs that are interpreted as
2532
+                    protocol-specific options for the external CA driver.
2526 2533
                   type: "object"
2527 2534
                   additionalProperties:
2528 2535
                     type: "string"
2529 2536
                 CACert:
2530
-                  description: "The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided)."
2537
+                  description: |
2538
+                    The root CA certificate (in PEM format) this external CA uses
2539
+                    to issue TLS certificates (assumed to be to the current swarm
2540
+                    root CA certificate if not provided).
2531 2541
                   type: "string"
2532 2542
           SigningCACert:
2533
-            description: "The desired signing CA certificate for all swarm node TLS leaf certificates, in PEM format."
2543
+            description: |
2544
+              The desired signing CA certificate for all swarm node TLS leaf
2545
+              certificates, in PEM format.
2534 2546
             type: "string"
2535 2547
           SigningCAKey:
2536
-            description: "The desired signing CA key for all swarm node TLS leaf certificates, in PEM format."
2548
+            description: |
2549
+              The desired signing CA key for all swarm node TLS leaf certificates,
2550
+              in PEM format.
2537 2551
             type: "string"
2538 2552
           ForceRotate:
2539
-            description: "An integer whose purpose is to force swarm to generate a new signing CA certificate and key, if none have been specified in `SigningCACert` and `SigningCAKey`"
2553
+            description: |
2554
+              An integer whose purpose is to force swarm to generate a new
2555
+              signing CA certificate and key, if none have been specified in
2556
+              `SigningCACert` and `SigningCAKey`
2540 2557
             format: "uint64"
2541 2558
             type: "integer"
2542 2559
       EncryptionConfig:
... ...
@@ -2544,7 +2738,9 @@ definitions:
2544 2544
         type: "object"
2545 2545
         properties:
2546 2546
           AutoLockManagers:
2547
-            description: "If set, generate a key and use it to lock data stored on the managers."
2547
+            description: |
2548
+              If set, generate a key and use it to lock data stored on the
2549
+              managers.
2548 2550
             type: "boolean"
2549 2551
             example: false
2550 2552
       TaskDefaults:
... ...
@@ -2610,7 +2806,8 @@ definitions:
2610 2610
       TLSInfo:
2611 2611
         $ref: "#/definitions/TLSInfo"
2612 2612
       RootRotationInProgress:
2613
-        description: "Whether there is currently a root CA rotation in progress for the swarm"
2613
+        description: |
2614
+          Whether there is currently a root CA rotation in progress for the swarm
2614 2615
         type: "boolean"
2615 2616
         example: false
2616 2617
       DataPathPort:
... ...
@@ -2624,7 +2821,8 @@ definitions:
2624 2624
         example: 4789
2625 2625
       DefaultAddrPool:
2626 2626
         description: |
2627
-          Default Address Pool specifies default subnet pools for global scope networks.
2627
+          Default Address Pool specifies default subnet pools for global scope
2628
+          networks.
2628 2629
         type: "array"
2629 2630
         items:
2630 2631
           type: "string"
... ...
@@ -2632,7 +2830,8 @@ definitions:
2632 2632
           example: ["10.10.0.0/16", "20.20.0.0/16"]
2633 2633
       SubnetSize:
2634 2634
         description: |
2635
-          SubnetSize specifies the subnet size of the networks created from the default subnet pool
2635
+          SubnetSize specifies the subnet size of the networks created from the
2636
+          default subnet pool.
2636 2637
         type: "integer"
2637 2638
         format: "uint32"
2638 2639
         maximum: 29
... ...
@@ -2692,7 +2891,9 @@ definitions:
2692 2692
           PluginPrivilege:
2693 2693
             type: "array"
2694 2694
             items:
2695
-              description: "Describes a permission accepted by the user upon installing the plugin."
2695
+              description: |
2696
+                Describes a permission accepted by the user upon installing the
2697
+                plugin.
2696 2698
               type: "object"
2697 2699
               properties:
2698 2700
                 Name:
... ...
@@ -2734,10 +2935,13 @@ definitions:
2734 2734
             items:
2735 2735
               type: "string"
2736 2736
           Hostname:
2737
-            description: "The hostname to use for the container, as a valid RFC 1123 hostname."
2737
+            description: |
2738
+              The hostname to use for the container, as a valid
2739
+              [RFC 1123](https://tools.ietf.org/html/rfc1123) hostname.
2738 2740
             type: "string"
2739 2741
           Env:
2740
-            description: "A list of environment variables in the form `VAR=value`."
2742
+            description: |
2743
+              A list of environment variables in the form `VAR=value`.
2741 2744
             type: "array"
2742 2745
             items:
2743 2746
               type: "string"
... ...
@@ -2749,7 +2953,8 @@ definitions:
2749 2749
             type: "string"
2750 2750
           Groups:
2751 2751
             type: "array"
2752
-            description: "A list of additional groups that the container process will run as."
2752
+            description: |
2753
+              A list of additional groups that the container process will run as.
2753 2754
             items:
2754 2755
               type: "string"
2755 2756
           Privileges:
... ...
@@ -2765,37 +2970,43 @@ definitions:
2765 2765
                     example: "0bt9dmxjvjiqermk6xrop3ekq"
2766 2766
                     description: |
2767 2767
                       Load credential spec from a Swarm Config with the given ID.
2768
-                      The specified config must also be present in the Configs field with the Runtime property set.
2768
+                      The specified config must also be present in the Configs
2769
+                      field with the Runtime property set.
2769 2770
 
2770 2771
                       <p><br /></p>
2771 2772
 
2772 2773
 
2773
-                      > **Note**: `CredentialSpec.File`, `CredentialSpec.Registry`, and `CredentialSpec.Config` are mutually exclusive.
2774
+                      > **Note**: `CredentialSpec.File`, `CredentialSpec.Registry`,
2775
+                      > and `CredentialSpec.Config` are mutually exclusive.
2774 2776
                   File:
2775 2777
                     type: "string"
2776 2778
                     example: "spec.json"
2777 2779
                     description: |
2778
-                      Load credential spec from this file. The file is read by the daemon, and must be present in the
2779
-                      `CredentialSpecs` subdirectory in the docker data directory, which defaults to
2780
-                      `C:\ProgramData\Docker\` on Windows.
2780
+                      Load credential spec from this file. The file is read by
2781
+                      the daemon, and must be present in the `CredentialSpecs`
2782
+                      subdirectory in the docker data directory, which defaults
2783
+                      to `C:\ProgramData\Docker\` on Windows.
2781 2784
 
2782
-                      For example, specifying `spec.json` loads `C:\ProgramData\Docker\CredentialSpecs\spec.json`.
2785
+                      For example, specifying `spec.json` loads
2786
+                      `C:\ProgramData\Docker\CredentialSpecs\spec.json`.
2783 2787
 
2784 2788
                       <p><br /></p>
2785 2789
 
2786
-                      > **Note**: `CredentialSpec.File`, `CredentialSpec.Registry`, and `CredentialSpec.Config` are mutually exclusive.
2790
+                      > **Note**: `CredentialSpec.File`, `CredentialSpec.Registry`,
2791
+                      > and `CredentialSpec.Config` are mutually exclusive.
2787 2792
                   Registry:
2788 2793
                     type: "string"
2789 2794
                     description: |
2790
-                      Load credential spec from this value in the Windows registry. The specified registry value must be
2791
-                      located in:
2795
+                      Load credential spec from this value in the Windows
2796
+                      registry. The specified registry value must be located in:
2792 2797
 
2793 2798
                       `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\Containers\CredentialSpecs`
2794 2799
 
2795 2800
                       <p><br /></p>
2796 2801
 
2797 2802
 
2798
-                      > **Note**: `CredentialSpec.File`, `CredentialSpec.Registry`, and `CredentialSpec.Config` are mutually exclusive.
2803
+                      > **Note**: `CredentialSpec.File`, `CredentialSpec.Registry`,
2804
+                      > and `CredentialSpec.Config` are mutually exclusive.
2799 2805
               SELinuxContext:
2800 2806
                 type: "object"
2801 2807
                 description: "SELinux labels of the container"
... ...
@@ -2825,7 +3036,9 @@ definitions:
2825 2825
             description: "Mount the container's root filesystem as read only."
2826 2826
             type: "boolean"
2827 2827
           Mounts:
2828
-            description: "Specification for mounts to be added to containers created as part of the service."
2828
+            description: |
2829
+              Specification for mounts to be added to containers created as part
2830
+              of the service.
2829 2831
             type: "array"
2830 2832
             items:
2831 2833
               $ref: "#/definitions/Mount"
... ...
@@ -2833,7 +3046,9 @@ definitions:
2833 2833
             description: "Signal to stop the container."
2834 2834
             type: "string"
2835 2835
           StopGracePeriod:
2836
-            description: "Amount of time to wait for the container to terminate before forcefully killing it."
2836
+            description: |
2837
+              Amount of time to wait for the container to terminate before
2838
+              forcefully killing it.
2837 2839
             type: "integer"
2838 2840
             format: "int64"
2839 2841
           HealthCheck:
... ...
@@ -2850,7 +3065,9 @@ definitions:
2850 2850
             items:
2851 2851
               type: "string"
2852 2852
           DNSConfig:
2853
-            description: "Specification for DNS related configurations in resolver configuration file (`resolv.conf`)."
2853
+            description: |
2854
+              Specification for DNS related configurations in resolver configuration
2855
+              file (`resolv.conf`).
2854 2856
             type: "object"
2855 2857
             properties:
2856 2858
               Nameservers:
... ...
@@ -2864,22 +3081,28 @@ definitions:
2864 2864
                 items:
2865 2865
                   type: "string"
2866 2866
               Options:
2867
-                description: "A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.)."
2867
+                description: |
2868
+                  A list of internal resolver variables to be modified (e.g.,
2869
+                  `debug`, `ndots:3`, etc.).
2868 2870
                 type: "array"
2869 2871
                 items:
2870 2872
                   type: "string"
2871 2873
           Secrets:
2872
-            description: "Secrets contains references to zero or more secrets that will be exposed to the service."
2874
+            description: |
2875
+              Secrets contains references to zero or more secrets that will be
2876
+              exposed to the service.
2873 2877
             type: "array"
2874 2878
             items:
2875 2879
               type: "object"
2876 2880
               properties:
2877 2881
                 File:
2878
-                  description: "File represents a specific target that is backed by a file."
2882
+                  description: |
2883
+                    File represents a specific target that is backed by a file.
2879 2884
                   type: "object"
2880 2885
                   properties:
2881 2886
                     Name:
2882
-                      description: "Name represents the final filename in the filesystem."
2887
+                      description: |
2888
+                        Name represents the final filename in the filesystem.
2883 2889
                       type: "string"
2884 2890
                     UID:
2885 2891
                       description: "UID represents the file UID."
... ...
@@ -2892,15 +3115,20 @@ definitions:
2892 2892
                       type: "integer"
2893 2893
                       format: "uint32"
2894 2894
                 SecretID:
2895
-                  description: "SecretID represents the ID of the specific secret that we're referencing."
2895
+                  description: |
2896
+                    SecretID represents the ID of the specific secret that we're
2897
+                    referencing.
2896 2898
                   type: "string"
2897 2899
                 SecretName:
2898 2900
                   description: |
2899
-                    SecretName is the name of the secret that this references, but this is just provided for
2900
-                    lookup/display purposes. The secret in the reference will be identified by its ID.
2901
+                    SecretName is the name of the secret that this references,
2902
+                    but this is just provided for lookup/display purposes. The
2903
+                    secret in the reference will be identified by its ID.
2901 2904
                   type: "string"
2902 2905
           Configs:
2903
-            description: "Configs contains references to zero or more configs that will be exposed to the service."
2906
+            description: |
2907
+              Configs contains references to zero or more configs that will be
2908
+              exposed to the service.
2904 2909
             type: "array"
2905 2910
             items:
2906 2911
               type: "object"
... ...
@@ -2915,7 +3143,8 @@ definitions:
2915 2915
                   type: "object"
2916 2916
                   properties:
2917 2917
                     Name:
2918
-                      description: "Name represents the final filename in the filesystem."
2918
+                      description: |
2919
+                        Name represents the final filename in the filesystem.
2919 2920
                       type: "string"
2920 2921
                     UID:
2921 2922
                       description: "UID represents the file UID."
... ...
@@ -2929,29 +3158,39 @@ definitions:
2929 2929
                       format: "uint32"
2930 2930
                 Runtime:
2931 2931
                   description: |
2932
-                    Runtime represents a target that is not mounted into the container but is used by the task
2932
+                    Runtime represents a target that is not mounted into the
2933
+                    container but is used by the task
2933 2934
 
2934 2935
                     <p><br /><p>
2935 2936
 
2936
-                    > **Note**: `Configs.File` and `Configs.Runtime` are mutually exclusive
2937
+                    > **Note**: `Configs.File` and `Configs.Runtime` are mutually
2938
+                    > exclusive
2937 2939
                   type: "object"
2938 2940
                 ConfigID:
2939
-                  description: "ConfigID represents the ID of the specific config that we're referencing."
2941
+                  description: |
2942
+                    ConfigID represents the ID of the specific config that we're
2943
+                    referencing.
2940 2944
                   type: "string"
2941 2945
                 ConfigName:
2942 2946
                   description: |
2943
-                    ConfigName is the name of the config that this references, but this is just provided for
2944
-                    lookup/display purposes. The config in the reference will be identified by its ID.
2947
+                    ConfigName is the name of the config that this references,
2948
+                    but this is just provided for lookup/display purposes. The
2949
+                    config in the reference will be identified by its ID.
2945 2950
                   type: "string"
2946 2951
           Isolation:
2947 2952
             type: "string"
2948
-            description: "Isolation technology of the containers running the service. (Windows only)"
2953
+            description: |
2954
+              Isolation technology of the containers running the service.
2955
+              (Windows only)
2949 2956
             enum:
2950 2957
               - "default"
2951 2958
               - "process"
2952 2959
               - "hyperv"
2953 2960
           Init:
2954
-            description: "Run an init inside the container that forwards signals and reaps processes. This field is omitted if empty, and the default (as configured on the daemon) is used."
2961
+            description: |
2962
+              Run an init inside the container that forwards signals and reaps
2963
+              processes. This field is omitted if empty, and the default (as
2964
+              configured on the daemon) is used.
2955 2965
             type: "boolean"
2956 2966
             x-nullable: true
2957 2967
           Sysctls:
... ...
@@ -2983,7 +3222,9 @@ definitions:
2983 2983
             description: "ID of the container represented by this task"
2984 2984
             type: "string"
2985 2985
       Resources:
2986
-        description: "Resource requirements which apply to each individual container created as part of the service."
2986
+        description: |
2987
+          Resource requirements which apply to each individual container created
2988
+          as part of the service.
2987 2989
         type: "object"
2988 2990
         properties:
2989 2991
           Limits:
... ...
@@ -2993,7 +3234,9 @@ definitions:
2993 2993
             description: "Define resources reservation."
2994 2994
             $ref: "#/definitions/ResourceObject"
2995 2995
       RestartPolicy:
2996
-        description: "Specification for the restart policy which applies to containers created as part of this service."
2996
+        description: |
2997
+          Specification for the restart policy which applies to containers
2998
+          created as part of this service.
2997 2999
         type: "object"
2998 3000
         properties:
2999 3001
           Condition:
... ...
@@ -3008,12 +3251,16 @@ definitions:
3008 3008
             type: "integer"
3009 3009
             format: "int64"
3010 3010
           MaxAttempts:
3011
-            description: "Maximum attempts to restart a given container before giving up (default value is 0, which is ignored)."
3011
+            description: |
3012
+              Maximum attempts to restart a given container before giving up
3013
+              (default value is 0, which is ignored).
3012 3014
             type: "integer"
3013 3015
             format: "int64"
3014 3016
             default: 0
3015 3017
           Window:
3016
-            description: "Windows is the time window used to evaluate the restart policy (default value is 0, which is unbounded)."
3018
+            description: |
3019
+              Windows is the time window used to evaluate the restart policy
3020
+              (default value is 0, which is unbounded).
3017 3021
             type: "integer"
3018 3022
             format: "int64"
3019 3023
             default: 0
... ...
@@ -3052,7 +3299,10 @@ definitions:
3052 3052
               - "node.platform.os==linux"
3053 3053
               - "node.platform.arch==x86_64"
3054 3054
           Preferences:
3055
-            description: "Preferences provide a way to make the scheduler aware of factors such as topology. They are provided in order from highest to lowest precedence."
3055
+            description: |
3056
+              Preferences provide a way to make the scheduler aware of factors
3057
+              such as topology. They are provided in order from highest to
3058
+              lowest precedence.
3056 3059
             type: "array"
3057 3060
             items:
3058 3061
               type: "object"
... ...
@@ -3061,7 +3311,8 @@ definitions:
3061 3061
                   type: "object"
3062 3062
                   properties:
3063 3063
                     SpreadDescriptor:
3064
-                      description: "label descriptor, such as engine.labels.az"
3064
+                      description: |
3065
+                        label descriptor, such as `engine.labels.az`.
3065 3066
                       type: "string"
3066 3067
             example:
3067 3068
               - Spread:
... ...
@@ -3069,7 +3320,9 @@ definitions:
3069 3069
               - Spread:
3070 3070
                   SpreadDescriptor: "node.labels.rack"
3071 3071
           MaxReplicas:
3072
-            description: "Maximum number of replicas for per node (default value is 0, which is unlimited)"
3072
+            description: |
3073
+              Maximum number of replicas for per node (default value is 0, which
3074
+              is unlimited)
3073 3075
             type: "integer"
3074 3076
             format: "int64"
3075 3077
             default: 0
... ...
@@ -3083,10 +3336,13 @@ definitions:
3083 3083
             items:
3084 3084
               $ref: "#/definitions/Platform"
3085 3085
       ForceUpdate:
3086
-        description: "A counter that triggers an update even if no relevant parameters have been changed."
3086
+        description: |
3087
+          A counter that triggers an update even if no relevant parameters have
3088
+          been changed.
3087 3089
         type: "integer"
3088 3090
       Runtime:
3089
-        description: "Runtime is the type of runtime specified for the task executor."
3091
+        description: |
3092
+          Runtime is the type of runtime specified for the task executor.
3090 3093
         type: "string"
3091 3094
       Networks:
3092 3095
         description: "Specifies which networks the service should attach to."
... ...
@@ -3094,7 +3350,10 @@ definitions:
3094 3094
         items:
3095 3095
           $ref: "#/definitions/NetworkAttachmentConfig"
3096 3096
       LogDriver:
3097
-        description: "Specifies the log driver to use for tasks created from this spec. If not present, the default one for the swarm will be used, finally falling back to the engine default if not specified."
3097
+        description: |
3098
+          Specifies the log driver to use for tasks created from this spec. If
3099
+          not present, the default one for the swarm will be used, finally
3100
+          falling back to the engine default if not specified.
3098 3101
         type: "object"
3099 3102
         properties:
3100 3103
           Name:
... ...
@@ -3277,7 +3536,9 @@ definitions:
3277 3277
         type: "object"
3278 3278
         properties:
3279 3279
           Parallelism:
3280
-            description: "Maximum number of tasks to be updated in one iteration (0 means unlimited parallelism)."
3280
+            description: |
3281
+              Maximum number of tasks to be updated in one iteration (0 means
3282
+              unlimited parallelism).
3281 3283
             type: "integer"
3282 3284
             format: "int64"
3283 3285
           Delay:
... ...
@@ -3285,22 +3546,32 @@ definitions:
3285 3285
             type: "integer"
3286 3286
             format: "int64"
3287 3287
           FailureAction:
3288
-            description: "Action to take if an updated task fails to run, or stops running during the update."
3288
+            description: |
3289
+              Action to take if an updated task fails to run, or stops running
3290
+              during the update.
3289 3291
             type: "string"
3290 3292
             enum:
3291 3293
               - "continue"
3292 3294
               - "pause"
3293 3295
               - "rollback"
3294 3296
           Monitor:
3295
-            description: "Amount of time to monitor each updated task for failures, in nanoseconds."
3297
+            description: |
3298
+              Amount of time to monitor each updated task for failures, in
3299
+              nanoseconds.
3296 3300
             type: "integer"
3297 3301
             format: "int64"
3298 3302
           MaxFailureRatio:
3299
-            description: "The fraction of tasks that may fail during an update before the failure action is invoked, specified as a floating point number between 0 and 1."
3303
+            description: |
3304
+              The fraction of tasks that may fail during an update before the
3305
+              failure action is invoked, specified as a floating point number
3306
+              between 0 and 1.
3300 3307
             type: "number"
3301 3308
             default: 0
3302 3309
           Order:
3303
-            description: "The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down."
3310
+            description: |
3311
+              The order of operations when rolling out an updated task. Either
3312
+              the old task is shut down before the new task is started, or the
3313
+              new task is started before the old task is shut down.
3304 3314
             type: "string"
3305 3315
             enum:
3306 3316
               - "stop-first"
... ...
@@ -3310,29 +3581,42 @@ definitions:
3310 3310
         type: "object"
3311 3311
         properties:
3312 3312
           Parallelism:
3313
-            description: "Maximum number of tasks to be rolled back in one iteration (0 means unlimited parallelism)."
3313
+            description: |
3314
+              Maximum number of tasks to be rolled back in one iteration (0 means
3315
+              unlimited parallelism).
3314 3316
             type: "integer"
3315 3317
             format: "int64"
3316 3318
           Delay:
3317
-            description: "Amount of time between rollback iterations, in nanoseconds."
3319
+            description: |
3320
+              Amount of time between rollback iterations, in nanoseconds.
3318 3321
             type: "integer"
3319 3322
             format: "int64"
3320 3323
           FailureAction:
3321
-            description: "Action to take if an rolled back task fails to run, or stops running during the rollback."
3324
+            description: |
3325
+              Action to take if an rolled back task fails to run, or stops
3326
+              running during the rollback.
3322 3327
             type: "string"
3323 3328
             enum:
3324 3329
               - "continue"
3325 3330
               - "pause"
3326 3331
           Monitor:
3327
-            description: "Amount of time to monitor each rolled back task for failures, in nanoseconds."
3332
+            description: |
3333
+              Amount of time to monitor each rolled back task for failures, in
3334
+              nanoseconds.
3328 3335
             type: "integer"
3329 3336
             format: "int64"
3330 3337
           MaxFailureRatio:
3331
-            description: "The fraction of tasks that may fail during a rollback before the failure action is invoked, specified as a floating point number between 0 and 1."
3338
+            description: |
3339
+              The fraction of tasks that may fail during a rollback before the
3340
+              failure action is invoked, specified as a floating point number
3341
+              between 0 and 1.
3332 3342
             type: "number"
3333 3343
             default: 0
3334 3344
           Order:
3335
-            description: "The order of operations when rolling back a task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down."
3345
+            description: |
3346
+              The order of operations when rolling back a task. Either the old
3347
+              task is shut down before the new task is started, or the new task
3348
+              is started before the old task is shut down.
3336 3349
             type: "string"
3337 3350
             enum:
3338 3351
               - "stop-first"
... ...
@@ -3395,7 +3679,9 @@ definitions:
3395 3395
           - "dnsrr"
3396 3396
         default: "vip"
3397 3397
       Ports:
3398
-        description: "List of exposed ports that this service is accessible on from the outside. Ports can only be provided if `vip` resolution mode is used."
3398
+        description: |
3399
+          List of exposed ports that this service is accessible on from the
3400
+          outside. Ports can only be provided if `vip` resolution mode is used.
3399 3401
         type: "array"
3400 3402
         items:
3401 3403
           $ref: "#/definitions/EndpointPortConfig"
... ...
@@ -3639,7 +3925,7 @@ definitions:
3639 3639
           com.example.some-other-label: "some-other-value"
3640 3640
       Data:
3641 3641
         description: |
3642
-          Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
3642
+          Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
3643 3643
           data to store as secret.
3644 3644
 
3645 3645
           This field is only used to _create_ a secret, and is not returned by
... ...
@@ -3647,7 +3933,9 @@ definitions:
3647 3647
         type: "string"
3648 3648
         example: ""
3649 3649
       Driver:
3650
-        description: "Name of the secrets driver used to fetch the secret's value from an external secret store"
3650
+        description: |
3651
+          Name of the secrets driver used to fetch the secret's value from an
3652
+          external secret store.
3651 3653
         $ref: "#/definitions/Driver"
3652 3654
       Templating:
3653 3655
         description: |
... ...
@@ -3689,7 +3977,7 @@ definitions:
3689 3689
           type: "string"
3690 3690
       Data:
3691 3691
         description: |
3692
-          Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-3.2))
3692
+          Base64-url-safe-encoded ([RFC 4648](https://tools.ietf.org/html/rfc4648#section-5))
3693 3693
           config data.
3694 3694
         type: "string"
3695 3695
       Templating:
... ...
@@ -3752,7 +4040,8 @@ definitions:
3752 3752
         type: "boolean"
3753 3753
         example: false
3754 3754
       OOMKilled:
3755
-        description: "Whether this container has been killed because it ran out of memory."
3755
+        description: |
3756
+          Whether this container has been killed because it ran out of memory.
3756 3757
         type: "boolean"
3757 3758
         example: false
3758 3759
       Dead:
... ...
@@ -3907,15 +4196,20 @@ definitions:
3907 3907
         type: "boolean"
3908 3908
         example: true
3909 3909
       CpuCfsPeriod:
3910
-        description: "Indicates if CPU CFS(Completely Fair Scheduler) period is supported by the host."
3910
+        description: |
3911
+          Indicates if CPU CFS(Completely Fair Scheduler) period is supported by
3912
+          the host.
3911 3913
         type: "boolean"
3912 3914
         example: true
3913 3915
       CpuCfsQuota:
3914
-        description: "Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by the host."
3916
+        description: |
3917
+          Indicates if CPU CFS(Completely Fair Scheduler) quota is supported by
3918
+          the host.
3915 3919
         type: "boolean"
3916 3920
         example: true
3917 3921
       CPUShares:
3918
-        description: "Indicates if CPU Shares limiting is supported by the host."
3922
+        description: |
3923
+          Indicates if CPU Shares limiting is supported by the host.
3919 3924
         type: "boolean"
3920 3925
         example: true
3921 3926
       CPUSet:
... ...
@@ -3945,7 +4239,9 @@ definitions:
3945 3945
         type: "boolean"
3946 3946
         example: true
3947 3947
       Debug:
3948
-        description: "Indicates if the daemon is running in debug-mode / with debug-level logging enabled."
3948
+        description: |
3949
+          Indicates if the daemon is running in debug-mode / with debug-level
3950
+          logging enabled.
3949 3951
         type: "boolean"
3950 3952
         example: true
3951 3953
       NFd:
... ...
@@ -4579,19 +4875,23 @@ definitions:
4579 4579
         type: "string"
4580 4580
 
4581 4581
   NetworkAttachmentConfig:
4582
-    description: "Specifies how a service should be attached to a particular network."
4582
+    description: |
4583
+      Specifies how a service should be attached to a particular network.
4583 4584
     type: "object"
4584 4585
     properties:
4585 4586
       Target:
4586
-        description: "The target network for attachment. Must be a network name or ID."
4587
+        description: |
4588
+          The target network for attachment. Must be a network name or ID.
4587 4589
         type: "string"
4588 4590
       Aliases:
4589
-        description: "Discoverable alternate names for the service on this network."
4591
+        description: |
4592
+          Discoverable alternate names for the service on this network.
4590 4593
         type: "array"
4591 4594
         items:
4592 4595
           type: "string"
4593 4596
       DriverOpts:
4594
-        description: "Driver attachment options for the network target"
4597
+        description: |
4598
+          Driver attachment options for the network target.
4595 4599
         type: "object"
4596 4600
         additionalProperties:
4597 4601
           type: "string"
... ...
@@ -4601,32 +4901,42 @@ paths:
4601 4601
     get:
4602 4602
       summary: "List containers"
4603 4603
       description: |
4604
-        Returns a list of containers. For details on the format, see [the inspect endpoint](#operation/ContainerInspect).
4604
+        Returns a list of containers. For details on the format, see the
4605
+        [inspect endpoint](#operation/ContainerInspect).
4605 4606
 
4606
-        Note that it uses a different, smaller representation of a container than inspecting a single container. For example,
4607
-        the list of linked containers is not propagated .
4607
+        Note that it uses a different, smaller representation of a container
4608
+        than inspecting a single container. For example, the list of linked
4609
+        containers is not propagated .
4608 4610
       operationId: "ContainerList"
4609 4611
       produces:
4610 4612
         - "application/json"
4611 4613
       parameters:
4612 4614
         - name: "all"
4613 4615
           in: "query"
4614
-          description: "Return all containers. By default, only running containers are shown"
4616
+          description: |
4617
+            Return all containers. By default, only running containers are shown.
4615 4618
           type: "boolean"
4616 4619
           default: false
4617 4620
         - name: "limit"
4618 4621
           in: "query"
4619
-          description: "Return this number of most recently created containers, including non-running ones."
4622
+          description: |
4623
+            Return this number of most recently created containers, including
4624
+            non-running ones.
4620 4625
           type: "integer"
4621 4626
         - name: "size"
4622 4627
           in: "query"
4623
-          description: "Return the size of container as fields `SizeRw` and `SizeRootFs`."
4628
+          description: |
4629
+            Return the size of container as fields `SizeRw` and `SizeRootFs`.
4624 4630
           type: "boolean"
4625 4631
           default: false
4626 4632
         - name: "filters"
4627 4633
           in: "query"
4628 4634
           description: |
4629
-            Filters to process on the container list, encoded as JSON (a `map[string][]string`). For example, `{"status": ["paused"]}` will only return paused containers. Available filters:
4635
+            Filters to process on the container list, encoded as JSON (a
4636
+            `map[string][]string`). For example, `{"status": ["paused"]}` will
4637
+            only return paused containers.
4638
+
4639
+            Available filters:
4630 4640
 
4631 4641
             - `ancestor`=(`<image-name>[:<tag>]`, `<image id>`, or `<image@digest>`)
4632 4642
             - `before`=(`<container id>` or `<container name>`)
... ...
@@ -4797,7 +5107,9 @@ paths:
4797 4797
       parameters:
4798 4798
         - name: "name"
4799 4799
           in: "query"
4800
-          description: "Assign the specified name to the container. Must match `/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`."
4800
+          description: |
4801
+            Assign the specified name to the container. Must match
4802
+            `/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`.
4801 4803
           type: "string"
4802 4804
           pattern: "^/?[a-zA-Z0-9][a-zA-Z0-9_.-]+$"
4803 4805
         - name: "body"
... ...
@@ -4815,7 +5127,9 @@ paths:
4815 4815
                     type: "object"
4816 4816
                     properties:
4817 4817
                       EndpointsConfig:
4818
-                        description: "A mapping of network name to endpoint configuration for that network."
4818
+                        description: |
4819
+                          A mapping of network name to endpoint configuration
4820
+                          for that network.
4819 4821
                         type: "object"
4820 4822
                         additionalProperties:
4821 4823
                           $ref: "#/definitions/EndpointSettings"
... ...
@@ -5052,7 +5366,9 @@ paths:
5052 5052
               GraphDriver:
5053 5053
                 $ref: "#/definitions/GraphDriverData"
5054 5054
               SizeRw:
5055
-                description: "The size of files that have been created or changed by this container."
5055
+                description: |
5056
+                  The size of files that have been created or changed by this
5057
+                  container.
5056 5058
                 type: "integer"
5057 5059
                 format: "int64"
5058 5060
               SizeRootFs:
... ...
@@ -5247,7 +5563,9 @@ paths:
5247 5247
   /containers/{id}/top:
5248 5248
     get:
5249 5249
       summary: "List processes running inside a container"
5250
-      description: "On Unix systems, this is done by running the `ps` command. This endpoint is not supported on Windows."
5250
+      description: |
5251
+        On Unix systems, this is done by running the `ps` command. This endpoint
5252
+        is not supported on Windows.
5251 5253
       operationId: "ContainerTop"
5252 5254
       responses:
5253 5255
         200:
... ...
@@ -5263,7 +5581,9 @@ paths:
5263 5263
                 items:
5264 5264
                   type: "string"
5265 5265
               Processes:
5266
-                description: "Each process running in the container, where each is process is an array of values corresponding to the titles"
5266
+                description: |
5267
+                  Each process running in the container, where each is process
5268
+                  is an array of values corresponding to the titles.
5267 5269
                 type: "array"
5268 5270
                 items:
5269 5271
                   type: "array"
... ...
@@ -5328,15 +5648,16 @@ paths:
5328 5328
       description: |
5329 5329
         Get `stdout` and `stderr` logs from a container.
5330 5330
 
5331
-        Note: This endpoint works only for containers with the `json-file` or `journald` logging driver.
5331
+        Note: This endpoint works only for containers with the `json-file` or
5332
+        `journald` logging driver.
5332 5333
       operationId: "ContainerLogs"
5333 5334
       responses:
5334 5335
         200:
5335 5336
           description: |
5336
-                  logs returned as a stream in response body.
5337
-                  For the stream format, [see the documentation for the attach endpoint](#operation/ContainerAttach).
5338
-                  Note that unlike the attach endpoint, the logs endpoint does not upgrade the connection and does not
5339
-                  set Content-Type.
5337
+            logs returned as a stream in response body.
5338
+            For the stream format, [see the documentation for the attach endpoint](#operation/ContainerAttach).
5339
+            Note that unlike the attach endpoint, the logs endpoint does not
5340
+            upgrade the connection and does not set Content-Type.
5340 5341
           schema:
5341 5342
             type: "string"
5342 5343
             format: "binary"
... ...
@@ -5389,7 +5710,9 @@ paths:
5389 5389
           default: false
5390 5390
         - name: "tail"
5391 5391
           in: "query"
5392
-          description: "Only return this number of log lines from the end of the logs. Specify as an integer or `all` to output all log lines."
5392
+          description: |
5393
+            Only return this number of log lines from the end of the logs.
5394
+            Specify as an integer or `all` to output all log lines.
5393 5395
           type: "string"
5394 5396
           default: "all"
5395 5397
       tags: ["Container"]
... ...
@@ -5613,7 +5936,9 @@ paths:
5613 5613
           type: "string"
5614 5614
         - name: "stream"
5615 5615
           in: "query"
5616
-          description: "Stream the output. If false, the stats will be output once and then it will disconnect."
5616
+          description: |
5617
+            Stream the output. If false, the stats will be output once and then
5618
+            it will disconnect.
5617 5619
           type: "boolean"
5618 5620
           default: true
5619 5621
       tags: ["Container"]
... ...
@@ -5648,11 +5973,11 @@ paths:
5648 5648
           type: "string"
5649 5649
         - name: "h"
5650 5650
           in: "query"
5651
-          description: "Height of the tty session in characters"
5651
+          description: "Height of the TTY session in characters"
5652 5652
           type: "integer"
5653 5653
         - name: "w"
5654 5654
           in: "query"
5655
-          description: "Width of the tty session in characters"
5655
+          description: "Width of the TTY session in characters"
5656 5656
           type: "integer"
5657 5657
       tags: ["Container"]
5658 5658
   /containers/{id}/start:
... ...
@@ -5683,7 +6008,10 @@ paths:
5683 5683
           type: "string"
5684 5684
         - name: "detachKeys"
5685 5685
           in: "query"
5686
-          description: "Override the key sequence for detaching a container. Format is a single character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`."
5686
+          description: |
5687
+            Override the key sequence for detaching a container. Format is a
5688
+            single character `[a-Z]` or `ctrl-<value>` where `<value>` is one
5689
+            of: `a-z`, `@`, `^`, `[`, `,` or `_`.
5687 5690
           type: "string"
5688 5691
       tags: ["Container"]
5689 5692
   /containers/{id}/stop:
... ...
@@ -5749,7 +6077,9 @@ paths:
5749 5749
   /containers/{id}/kill:
5750 5750
     post:
5751 5751
       summary: "Kill a container"
5752
-      description: "Send a POSIX signal to a container, defaulting to killing to the container."
5752
+      description: |
5753
+        Send a POSIX signal to a container, defaulting to killing to the
5754
+        container.
5753 5755
       operationId: "ContainerKill"
5754 5756
       responses:
5755 5757
         204:
... ...
@@ -5787,7 +6117,9 @@ paths:
5787 5787
   /containers/{id}/update:
5788 5788
     post:
5789 5789
       summary: "Update a container"
5790
-      description: "Change various configuration options of a container without having to recreate it."
5790
+      description: |
5791
+        Change various configuration options of a container without having to
5792
+        recreate it.
5791 5793
       operationId: "ContainerUpdate"
5792 5794
       consumes: ["application/json"]
5793 5795
       produces: ["application/json"]
... ...
@@ -5887,7 +6219,10 @@ paths:
5887 5887
       description: |
5888 5888
         Use the freezer cgroup to suspend all processes in a container.
5889 5889
 
5890
-        Traditionally, when suspending a process the `SIGSTOP` signal is used, which is observable by the process being suspended. With the freezer cgroup the process is unaware, and unable to capture, that it is being suspended, and subsequently resumed.
5890
+        Traditionally, when suspending a process the `SIGSTOP` signal is used,
5891
+        which is observable by the process being suspended. With the freezer
5892
+        cgroup the process is unaware, and unable to capture, that it is being
5893
+        suspended, and subsequently resumed.
5891 5894
       operationId: "ContainerPause"
5892 5895
       responses:
5893 5896
         204:
... ...
@@ -5940,15 +6275,20 @@ paths:
5940 5940
     post:
5941 5941
       summary: "Attach to a container"
5942 5942
       description: |
5943
-        Attach to a container to read its output or send it input. You can attach to the same container multiple times and you can reattach to containers that have been detached.
5943
+        Attach to a container to read its output or send it input. You can attach
5944
+        to the same container multiple times and you can reattach to containers
5945
+        that have been detached.
5944 5946
 
5945
-        Either the `stream` or `logs` parameter must be `true` for this endpoint to do anything.
5947
+        Either the `stream` or `logs` parameter must be `true` for this endpoint
5948
+        to do anything.
5946 5949
 
5947
-        See [the documentation for the `docker attach` command](https://docs.docker.com/engine/reference/commandline/attach/) for more details.
5950
+        See the [documentation for the `docker attach` command](https://docs.docker.com/engine/reference/commandline/attach/)
5951
+        for more details.
5948 5952
 
5949 5953
         ### Hijacking
5950 5954
 
5951
-        This endpoint hijacks the HTTP connection to transport `stdin`, `stdout`, and `stderr` on the same socket.
5955
+        This endpoint hijacks the HTTP connection to transport `stdin`, `stdout`,
5956
+        and `stderr` on the same socket.
5952 5957
 
5953 5958
         This is the response from the daemon for an attach request:
5954 5959
 
... ...
@@ -5959,9 +6299,11 @@ paths:
5959 5959
         [STREAM]
5960 5960
         ```
5961 5961
 
5962
-        After the headers and two new lines, the TCP connection can now be used for raw, bidirectional communication between the client and server.
5962
+        After the headers and two new lines, the TCP connection can now be used
5963
+        for raw, bidirectional communication between the client and server.
5963 5964
 
5964
-        To hint potential proxies about connection hijacking, the Docker client can also optionally send connection upgrade headers.
5965
+        To hint potential proxies about connection hijacking, the Docker client
5966
+        can also optionally send connection upgrade headers.
5965 5967
 
5966 5968
         For example, the client sends this request to upgrade the connection:
5967 5969
 
... ...
@@ -5971,7 +6313,8 @@ paths:
5971 5971
         Connection: Upgrade
5972 5972
         ```
5973 5973
 
5974
-        The Docker daemon will respond with a `101 UPGRADED` response, and will similarly follow with the raw stream:
5974
+        The Docker daemon will respond with a `101 UPGRADED` response, and will
5975
+        similarly follow with the raw stream:
5975 5976
 
5976 5977
         ```
5977 5978
         HTTP/1.1 101 UPGRADED
... ...
@@ -5984,9 +6327,14 @@ paths:
5984 5984
 
5985 5985
         ### Stream format
5986 5986
 
5987
-        When the TTY setting is disabled in [`POST /containers/create`](#operation/ContainerCreate), the stream over the hijacked connected is multiplexed to separate out `stdout` and `stderr`. The stream consists of a series of frames, each containing a header and a payload.
5987
+        When the TTY setting is disabled in [`POST /containers/create`](#operation/ContainerCreate),
5988
+        the stream over the hijacked connected is multiplexed to separate out
5989
+        `stdout` and `stderr`. The stream consists of a series of frames, each
5990
+        containing a header and a payload.
5988 5991
 
5989
-        The header contains the information which the stream writes (`stdout` or `stderr`). It also contains the size of the associated frame encoded in the last four bytes (`uint32`).
5992
+        The header contains the information which the stream writes (`stdout` or
5993
+        `stderr`). It also contains the size of the associated frame encoded in
5994
+        the last four bytes (`uint32`).
5990 5995
 
5991 5996
         It is encoded on the first eight bytes like this:
5992 5997
 
... ...
@@ -6000,9 +6348,11 @@ paths:
6000 6000
         - 1: `stdout`
6001 6001
         - 2: `stderr`
6002 6002
 
6003
-        `SIZE1, SIZE2, SIZE3, SIZE4` are the four bytes of the `uint32` size encoded as big endian.
6003
+        `SIZE1, SIZE2, SIZE3, SIZE4` are the four bytes of the `uint32` size
6004
+        encoded as big endian.
6004 6005
 
6005
-        Following the header is the payload, which is the specified number of bytes of `STREAM_TYPE`.
6006
+        Following the header is the payload, which is the specified number of
6007
+        bytes of `STREAM_TYPE`.
6006 6008
 
6007 6009
         The simplest way to implement this protocol is the following:
6008 6010
 
... ...
@@ -6014,7 +6364,10 @@ paths:
6014 6014
 
6015 6015
         ### Stream format when using a TTY
6016 6016
 
6017
-        When the TTY setting is enabled in [`POST /containers/create`](#operation/ContainerCreate), the stream is not multiplexed. The data exchanged over the hijacked connection is simply the raw data from the process PTY and client's `stdin`.
6017
+        When the TTY setting is enabled in [`POST /containers/create`](#operation/ContainerCreate),
6018
+        the stream is not multiplexed. The data exchanged over the hijacked
6019
+        connection is simply the raw data from the process PTY and client's
6020
+        `stdin`.
6018 6021
 
6019 6022
       operationId: "ContainerAttach"
6020 6023
       produces:
... ...
@@ -6047,21 +6400,28 @@ paths:
6047 6047
           type: "string"
6048 6048
         - name: "detachKeys"
6049 6049
           in: "query"
6050
-          description: "Override the key sequence for detaching a container.Format is a single character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`."
6050
+          description: |
6051
+            Override the key sequence for detaching a container.Format is a single
6052
+            character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`,
6053
+            `@`, `^`, `[`, `,` or `_`.
6051 6054
           type: "string"
6052 6055
         - name: "logs"
6053 6056
           in: "query"
6054 6057
           description: |
6055 6058
             Replay previous logs from the container.
6056 6059
 
6057
-            This is useful for attaching to a container that has started and you want to output everything since the container started.
6060
+            This is useful for attaching to a container that has started and you
6061
+            want to output everything since the container started.
6058 6062
 
6059
-            If `stream` is also enabled, once all the previous output has been returned, it will seamlessly transition into streaming current output.
6063
+            If `stream` is also enabled, once all the previous output has been
6064
+            returned, it will seamlessly transition into streaming current
6065
+            output.
6060 6066
           type: "boolean"
6061 6067
           default: false
6062 6068
         - name: "stream"
6063 6069
           in: "query"
6064
-          description: "Stream attached streams from the time the request was made onwards"
6070
+          description: |
6071
+            Stream attached streams from the time the request was made onwards.
6065 6072
           type: "boolean"
6066 6073
           default: false
6067 6074
         - name: "stdin"
... ...
@@ -6112,7 +6472,10 @@ paths:
6112 6112
           type: "string"
6113 6113
         - name: "detachKeys"
6114 6114
           in: "query"
6115
-          description: "Override the key sequence for detaching a container.Format is a single character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,`, or `_`."
6115
+          description: |
6116
+            Override the key sequence for detaching a container.Format is a single
6117
+            character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`,
6118
+            `@`, `^`, `[`, `,`, or `_`.
6116 6119
           type: "string"
6117 6120
         - name: "logs"
6118 6121
           in: "query"
... ...
@@ -6185,7 +6548,9 @@ paths:
6185 6185
           type: "string"
6186 6186
         - name: "condition"
6187 6187
           in: "query"
6188
-          description: "Wait until a container state reaches the given condition, either 'not-running' (default), 'next-exit', or 'removed'."
6188
+          description: |
6189
+            Wait until a container state reaches the given condition, either
6190
+            'not-running' (default), 'next-exit', or 'removed'.
6189 6191
           type: "string"
6190 6192
           default: "not-running"
6191 6193
       tags: ["Container"]
... ...
@@ -6213,7 +6578,9 @@ paths:
6213 6213
             $ref: "#/definitions/ErrorResponse"
6214 6214
           examples:
6215 6215
             application/json:
6216
-              message: "You cannot remove a running container: c2ada9df5af8. Stop the container before attempting removal or force remove"
6216
+              message: |
6217
+                You cannot remove a running container: c2ada9df5af8. Stop the
6218
+                container before attempting removal or force remove
6217 6219
         500:
6218 6220
           description: "server error"
6219 6221
           schema:
... ...
@@ -6243,7 +6610,10 @@ paths:
6243 6243
   /containers/{id}/archive:
6244 6244
     head:
6245 6245
       summary: "Get information about files in a container"
6246
-      description: "A response header `X-Docker-Container-Path-Stat` is return containing a base64 - encoded JSON object with some filesystem header information about the path."
6246
+      description: |
6247
+        A response header `X-Docker-Container-Path-Stat` is returned, containing
6248
+        a base64 - encoded JSON object with some filesystem header information
6249
+        about the path.
6247 6250
       operationId: "ContainerArchiveInfo"
6248 6251
       responses:
6249 6252
         200:
... ...
@@ -6251,7 +6621,9 @@ paths:
6251 6251
           headers:
6252 6252
             X-Docker-Container-Path-Stat:
6253 6253
               type: "string"
6254
-              description: "A base64 - encoded JSON object with some filesystem header information about the path"
6254
+              description: |
6255
+                A base64 - encoded JSON object with some filesystem header
6256
+                information about the path
6255 6257
         400:
6256 6258
           description: "Bad parameter"
6257 6259
           schema:
... ...
@@ -6260,7 +6632,10 @@ paths:
6260 6260
               - type: "object"
6261 6261
                 properties:
6262 6262
                   message:
6263
-                    description: "The error message. Either \"must specify path parameter\" (path cannot be empty) or \"not a directory\" (path was asserted to be a directory but exists as a file)."
6263
+                    description: |
6264
+                      The error message. Either "must specify path parameter"
6265
+                      (path cannot be empty) or "not a directory" (path was
6266
+                      asserted to be a directory but exists as a file).
6264 6267
                     type: "string"
6265 6268
                     x-nullable: false
6266 6269
         404:
... ...
@@ -6302,7 +6677,10 @@ paths:
6302 6302
               - type: "object"
6303 6303
                 properties:
6304 6304
                   message:
6305
-                    description: "The error message. Either \"must specify path parameter\" (path cannot be empty) or \"not a directory\" (path was asserted to be a directory but exists as a file)."
6305
+                    description: |
6306
+                      The error message. Either "must specify path parameter"
6307
+                      (path cannot be empty) or "not a directory" (path was
6308
+                      asserted to be a directory but exists as a file).
6306 6309
                     type: "string"
6307 6310
                     x-nullable: false
6308 6311
         404:
... ...
@@ -6368,16 +6746,24 @@ paths:
6368 6368
           type: "string"
6369 6369
         - name: "noOverwriteDirNonDir"
6370 6370
           in: "query"
6371
-          description: "If “1”, “true”, or “True” then it will be an error if unpacking the given content would cause an existing directory to be replaced with a non-directory and vice versa."
6371
+          description: |
6372
+            If `1`, `true`, or `True` then it will be an error if unpacking the
6373
+            given content would cause an existing directory to be replaced with
6374
+            a non-directory and vice versa.
6372 6375
           type: "string"
6373 6376
         - name: "copyUIDGID"
6374 6377
           in: "query"
6375
-          description: "If “1”, “true”, then it will copy UID/GID maps to the dest file or dir"
6378
+          description: |
6379
+            If `1`, `true`, then it will copy UID/GID maps to the dest file or
6380
+            dir
6376 6381
           type: "string"
6377 6382
         - name: "inputStream"
6378 6383
           in: "body"
6379 6384
           required: true
6380
-          description: "The input stream must be a tar archive compressed with one of the following algorithms: identity (no compression), gzip, bzip2, xz."
6385
+          description: |
6386
+            The input stream must be a tar archive compressed with one of the
6387
+            following algorithms: `identity` (no compression), `gzip`, `bzip2`,
6388
+            or `xz`.
6381 6389
           schema:
6382 6390
             type: "string"
6383 6391
             format: "binary"
... ...
@@ -6475,7 +6861,10 @@ paths:
6475 6475
         - name: "filters"
6476 6476
           in: "query"
6477 6477
           description: |
6478
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the images list. Available filters:
6478
+            A JSON encoded value of the filters (a `map[string][]string`) to
6479
+            process on the images list.
6480
+
6481
+            Available filters:
6479 6482
 
6480 6483
             - `before`=(`<image-name>[:<tag>]`,  `<image id>` or `<image@digest>`)
6481 6484
             - `dangling=true`
... ...
@@ -6691,7 +7080,11 @@ paths:
6691 6691
           in: "query"
6692 6692
           type: "string"
6693 6693
           description: |
6694
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the list of build cache objects. Available filters:
6694
+            A JSON encoded value of the filters (a `map[string][]string`) to
6695
+            process on the list of build cache objects.
6696
+
6697
+            Available filters:
6698
+
6695 6699
             - `until=<duration>`: duration relative to daemon's time, during which build cache was not used, in Go's duration format (e.g., '24h')
6696 6700
             - `id=<id>`
6697 6701
             - `parent=<id>`
... ...
@@ -6771,7 +7164,11 @@ paths:
6771 6771
           required: false
6772 6772
         - name: "X-Registry-Auth"
6773 6773
           in: "header"
6774
-          description: "A base64-encoded auth configuration. [See the authentication section for details.](#section/Authentication)"
6774
+          description: |
6775
+            A base64url-encoded auth configuration.
6776
+
6777
+            Refer to the [authentication section](#section/Authentication) for
6778
+            details.
6775 6779
           type: "string"
6776 6780
         - name: "platform"
6777 6781
           in: "query"
... ...
@@ -6970,7 +7367,9 @@ paths:
6970 6970
       description: |
6971 6971
         Push an image to a registry.
6972 6972
 
6973
-        If you wish to push an image on to a private registry, that image must already have a tag which references the registry. For example, `registry.example.com/myimage:latest`.
6973
+        If you wish to push an image on to a private registry, that image must
6974
+        already have a tag which references the registry. For example,
6975
+        `registry.example.com/myimage:latest`.
6974 6976
 
6975 6977
         The push is cancelled if the HTTP connection is closed.
6976 6978
       operationId: "ImagePush"
... ...
@@ -6999,7 +7398,11 @@ paths:
6999 6999
           type: "string"
7000 7000
         - name: "X-Registry-Auth"
7001 7001
           in: "header"
7002
-          description: "A base64-encoded auth configuration. [See the authentication section for details.](#section/Authentication)"
7002
+          description: |
7003
+            A base64url-encoded auth configuration.
7004
+
7005
+            Refer to the [authentication section](#section/Authentication) for
7006
+            details.
7003 7007
           type: "string"
7004 7008
           required: true
7005 7009
       tags: ["Image"]
... ...
@@ -7203,7 +7606,9 @@ paths:
7203 7203
   /auth:
7204 7204
     post:
7205 7205
       summary: "Check auth configuration"
7206
-      description: "Validate credentials for a registry and, if available, get an identity token for accessing the registry without password."
7206
+      description: |
7207
+        Validate credentials for a registry and, if available, get an identity
7208
+        token for accessing the registry without password.
7207 7209
       operationId: "SystemAuth"
7208 7210
       consumes: ["application/json"]
7209 7211
       produces: ["application/json"]
... ...
@@ -7714,11 +8119,16 @@ paths:
7714 7714
     get:
7715 7715
       summary: "Export several images"
7716 7716
       description: |
7717
-        Get a tarball containing all images and metadata for several image repositories.
7717
+        Get a tarball containing all images and metadata for several image
7718
+        repositories.
7718 7719
 
7719
-        For each value of the `names` parameter: if it is a specific name and tag (e.g. `ubuntu:latest`), then only that image (and its parents) are returned; if it is an image ID, similarly only that image (and its parents) are returned and there would be no names referenced in the 'repositories' file for this image ID.
7720
+        For each value of the `names` parameter: if it is a specific name and
7721
+        tag (e.g. `ubuntu:latest`), then only that image (and its parents) are
7722
+        returned; if it is an image ID, similarly only that image (and its parents)
7723
+        are returned and there would be no names referenced in the 'repositories'
7724
+        file for this image ID.
7720 7725
 
7721
-        For details on the format, see [the export image endpoint](#operation/ImageGet).
7726
+        For details on the format, see the [export image endpoint](#operation/ImageGet).
7722 7727
       operationId: "ImageGetAll"
7723 7728
       produces:
7724 7729
         - "application/x-tar"
... ...
@@ -7746,7 +8156,7 @@ paths:
7746 7746
       description: |
7747 7747
         Load a set of images and tags into a repository.
7748 7748
 
7749
-        For details on the format, see [the export image endpoint](#operation/ImageGet).
7749
+        For details on the format, see the [export image endpoint](#operation/ImageGet).
7750 7750
       operationId: "ImageLoad"
7751 7751
       consumes:
7752 7752
         - "application/x-tar"
... ...
@@ -7819,12 +8229,16 @@ paths:
7819 7819
                 description: "Attach to `stderr` of the exec command."
7820 7820
               DetachKeys:
7821 7821
                 type: "string"
7822
-                description: "Override the key sequence for detaching a container. Format is a single character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`."
7822
+                description: |
7823
+                  Override the key sequence for detaching a container. Format is
7824
+                  a single character `[a-Z]` or `ctrl-<value>` where `<value>`
7825
+                  is one of: `a-z`, `@`, `^`, `[`, `,` or `_`.
7823 7826
               Tty:
7824 7827
                 type: "boolean"
7825 7828
                 description: "Allocate a pseudo-TTY."
7826 7829
               Env:
7827
-                description: "A list of environment variables in the form `[\"VAR=value\", ...]`."
7830
+                description: |
7831
+                  A list of environment variables in the form `["VAR=value", ...]`.
7828 7832
                 type: "array"
7829 7833
                 items:
7830 7834
                   type: "string"
... ...
@@ -7839,10 +8253,14 @@ paths:
7839 7839
                 default: false
7840 7840
               User:
7841 7841
                 type: "string"
7842
-                description: "The user, and optionally, group to run the exec process inside the container. Format is one of: `user`, `user:group`, `uid`, or `uid:gid`."
7842
+                description: |
7843
+                  The user, and optionally, group to run the exec process inside
7844
+                  the container. Format is one of: `user`, `user:group`, `uid`,
7845
+                  or `uid:gid`.
7843 7846
               WorkingDir:
7844 7847
                 type: "string"
7845
-                description: "The working directory for the exec process inside the container."
7848
+                description: |
7849
+                  The working directory for the exec process inside the container.
7846 7850
             example:
7847 7851
               AttachStdin: false
7848 7852
               AttachStdout: true
... ...
@@ -7864,7 +8282,10 @@ paths:
7864 7864
   /exec/{id}/start:
7865 7865
     post:
7866 7866
       summary: "Start an exec instance"
7867
-      description: "Starts a previously set up exec instance. If detach is true, this endpoint returns immediately after starting the command. Otherwise, it sets up an interactive session with the command."
7867
+      description: |
7868
+        Starts a previously set up exec instance. If detach is true, this endpoint
7869
+        returns immediately after starting the command. Otherwise, it sets up an
7870
+        interactive session with the command.
7868 7871
       operationId: "ExecStart"
7869 7872
       consumes:
7870 7873
         - "application/json"
... ...
@@ -7905,7 +8326,9 @@ paths:
7905 7905
   /exec/{id}/resize:
7906 7906
     post:
7907 7907
       summary: "Resize an exec instance"
7908
-      description: "Resize the TTY session used by an exec instance. This endpoint only works if `tty` was specified as part of creating and starting the exec instance."
7908
+      description: |
7909
+        Resize the TTY session used by an exec instance. This endpoint only works
7910
+        if `tty` was specified as part of creating and starting the exec instance.
7909 7911
       operationId: "ExecResize"
7910 7912
       responses:
7911 7913
         201:
... ...
@@ -8025,7 +8448,8 @@ paths:
8025 8025
               Warnings:
8026 8026
                 type: "array"
8027 8027
                 x-nullable: false
8028
-                description: "Warnings that occurred when fetching the list of volumes"
8028
+                description: |
8029
+                  Warnings that occurred when fetching the list of volumes.
8029 8030
                 items:
8030 8031
                   type: "string"
8031 8032
 
... ...
@@ -8094,7 +8518,8 @@ paths:
8094 8094
             title: "VolumeConfig"
8095 8095
             properties:
8096 8096
               Name:
8097
-                description: "The new volume's name. If not specified, Docker generates a name."
8097
+                description: |
8098
+                  The new volume's name. If not specified, Docker generates a name.
8098 8099
                 type: "string"
8099 8100
                 x-nullable: false
8100 8101
               Driver:
... ...
@@ -8103,7 +8528,9 @@ paths:
8103 8103
                 default: "local"
8104 8104
                 x-nullable: false
8105 8105
               DriverOpts:
8106
-                description: "A mapping of driver options and values. These options are passed directly to the driver and are driver specific."
8106
+                description: |
8107
+                  A mapping of driver options and values. These options are
8108
+                  passed directly to the driver and are driver specific.
8107 8109
                 type: "object"
8108 8110
                 additionalProperties:
8109 8111
                   type: "string"
... ...
@@ -8217,10 +8644,12 @@ paths:
8217 8217
     get:
8218 8218
       summary: "List networks"
8219 8219
       description: |
8220
-        Returns a list of networks. For details on the format, see [the network inspect endpoint](#operation/NetworkInspect).
8220
+        Returns a list of networks. For details on the format, see the
8221
+        [network inspect endpoint](#operation/NetworkInspect).
8221 8222
 
8222
-        Note that it uses a different, smaller representation of a network than inspecting a single network. For example,
8223
-        the list of containers attached to the network is not propagated in API versions 1.28 and up.
8223
+        Note that it uses a different, smaller representation of a network than
8224
+        inspecting a single network. For example, the list of containers attached
8225
+        to the network is not propagated in API versions 1.28 and up.
8224 8226
       operationId: "NetworkList"
8225 8227
       produces:
8226 8228
         - "application/json"
... ...
@@ -8290,7 +8719,10 @@ paths:
8290 8290
         - name: "filters"
8291 8291
           in: "query"
8292 8292
           description: |
8293
-            JSON encoded value of the filters (a `map[string][]string`) to process on the networks list. Available filters:
8293
+            JSON encoded value of the filters (a `map[string][]string`) to process
8294
+            on the networks list.
8295
+
8296
+            Available filters:
8294 8297
 
8295 8298
             - `dangling=<boolean>` When set to `true` (or `1`), returns all
8296 8299
                networks that are not in use by a container. When set to `false`
... ...
@@ -8415,7 +8847,14 @@ paths:
8415 8415
                 description: "The network's name."
8416 8416
                 type: "string"
8417 8417
               CheckDuplicate:
8418
-                description: "Check for networks with duplicate names. Since Network is primarily keyed based on a random ID and not on the name, and network name is strictly a user-friendly alias to the network which is uniquely identified using ID, there is no guaranteed way to check for duplicates. CheckDuplicate is there to provide a best effort checking of any networks which has the same name but it is not guaranteed to catch all name collisions."
8418
+                description: |
8419
+                  Check for networks with duplicate names. Since Network is
8420
+                  primarily keyed based on a random ID and not on the name, and
8421
+                  network name is strictly a user-friendly alias to the network
8422
+                  which is uniquely identified using ID, there is no guaranteed
8423
+                  way to check for duplicates. CheckDuplicate is there to provide
8424
+                  a best effort checking of any networks which has the same name
8425
+                  but it is not guaranteed to catch all name collisions.
8419 8426
                 type: "boolean"
8420 8427
               Driver:
8421 8428
                 description: "Name of the network driver plugin to use."
... ...
@@ -8425,10 +8864,14 @@ paths:
8425 8425
                 description: "Restrict external access to the network."
8426 8426
                 type: "boolean"
8427 8427
               Attachable:
8428
-                description: "Globally scoped network is manually attachable by regular containers from workers in swarm mode."
8428
+                description: |
8429
+                  Globally scoped network is manually attachable by regular
8430
+                  containers from workers in swarm mode.
8429 8431
                 type: "boolean"
8430 8432
               Ingress:
8431
-                description: "Ingress network is the network which provides the routing-mesh in swarm mode."
8433
+                description: |
8434
+                  Ingress network is the network which provides the routing-mesh
8435
+                  in swarm mode.
8432 8436
                 type: "boolean"
8433 8437
               IPAM:
8434 8438
                 description: "Optional custom IP scheme for the network."
... ...
@@ -8557,10 +9000,12 @@ paths:
8557 8557
             properties:
8558 8558
               Container:
8559 8559
                 type: "string"
8560
-                description: "The ID or name of the container to disconnect from the network."
8560
+                description: |
8561
+                  The ID or name of the container to disconnect from the network.
8561 8562
               Force:
8562 8563
                 type: "boolean"
8563
-                description: "Force the container to disconnect from the network."
8564
+                description: |
8565
+                  Force the container to disconnect from the network.
8564 8566
       tags: ["Network"]
8565 8567
   /networks/prune:
8566 8568
     post:
... ...
@@ -8617,7 +9062,10 @@ paths:
8617 8617
           in: "query"
8618 8618
           type: "string"
8619 8619
           description: |
8620
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the plugin list. Available filters:
8620
+            A JSON encoded value of the filters (a `map[string][]string`) to
8621
+            process on the plugin list.
8622
+
8623
+            Available filters:
8621 8624
 
8622 8625
             - `capability=<capability name>`
8623 8626
             - `enable=<true>|<false>`
... ...
@@ -8633,7 +9081,9 @@ paths:
8633 8633
           schema:
8634 8634
             type: "array"
8635 8635
             items:
8636
-              description: "Describes a permission the user has to accept upon installing the plugin."
8636
+              description: |
8637
+                Describes a permission the user has to accept upon installing
8638
+                the plugin.
8637 8639
               type: "object"
8638 8640
               title: "PluginPrivilegeItem"
8639 8641
               properties:
... ...
@@ -8665,7 +9115,9 @@ paths:
8665 8665
       parameters:
8666 8666
         - name: "remote"
8667 8667
           in: "query"
8668
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8668
+          description: |
8669
+            The name of the plugin. The `:latest` tag is optional, and is the
8670
+            default if omitted.
8669 8671
           required: true
8670 8672
           type: "string"
8671 8673
       tags:
... ...
@@ -8676,7 +9128,8 @@ paths:
8676 8676
       summary: "Install a plugin"
8677 8677
       operationId: "PluginPull"
8678 8678
       description: |
8679
-        Pulls and installs a plugin. After the plugin is installed, it can be enabled using the [`POST /plugins/{name}/enable` endpoint](#operation/PostPluginsEnable).
8679
+        Pulls and installs a plugin. After the plugin is installed, it can be
8680
+        enabled using the [`POST /plugins/{name}/enable` endpoint](#operation/PostPluginsEnable).
8680 8681
       produces:
8681 8682
         - "application/json"
8682 8683
       responses:
... ...
@@ -8705,14 +9158,21 @@ paths:
8705 8705
           type: "string"
8706 8706
         - name: "X-Registry-Auth"
8707 8707
           in: "header"
8708
-          description: "A base64-encoded auth configuration to use when pulling a plugin from a registry. [See the authentication section for details.](#section/Authentication)"
8708
+          description: |
8709
+            A base64url-encoded auth configuration to use when pulling a plugin
8710
+            from a registry.
8711
+
8712
+            Refer to the [authentication section](#section/Authentication) for
8713
+            details.
8709 8714
           type: "string"
8710 8715
         - name: "body"
8711 8716
           in: "body"
8712 8717
           schema:
8713 8718
             type: "array"
8714 8719
             items:
8715
-              description: "Describes a permission accepted by the user upon installing the plugin."
8720
+              description: |
8721
+                Describes a permission accepted by the user upon installing the
8722
+                plugin.
8716 8723
               type: "object"
8717 8724
               properties:
8718 8725
                 Name:
... ...
@@ -8757,7 +9217,9 @@ paths:
8757 8757
       parameters:
8758 8758
         - name: "name"
8759 8759
           in: "path"
8760
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8760
+          description: |
8761
+            The name of the plugin. The `:latest` tag is optional, and is the
8762
+            default if omitted.
8761 8763
           required: true
8762 8764
           type: "string"
8763 8765
       tags: ["Plugin"]
... ...
@@ -8781,12 +9243,16 @@ paths:
8781 8781
       parameters:
8782 8782
         - name: "name"
8783 8783
           in: "path"
8784
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8784
+          description: |
8785
+            The name of the plugin. The `:latest` tag is optional, and is the
8786
+            default if omitted.
8785 8787
           required: true
8786 8788
           type: "string"
8787 8789
         - name: "force"
8788 8790
           in: "query"
8789
-          description: "Disable the plugin before removing. This may result in issues if the plugin is in use by a container."
8791
+          description: |
8792
+            Disable the plugin before removing. This may result in issues if the
8793
+            plugin is in use by a container.
8790 8794
           type: "boolean"
8791 8795
           default: false
8792 8796
       tags: ["Plugin"]
... ...
@@ -8808,7 +9274,9 @@ paths:
8808 8808
       parameters:
8809 8809
         - name: "name"
8810 8810
           in: "path"
8811
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8811
+          description: |
8812
+            The name of the plugin. The `:latest` tag is optional, and is the
8813
+            default if omitted.
8812 8814
           required: true
8813 8815
           type: "string"
8814 8816
         - name: "timeout"
... ...
@@ -8835,7 +9303,9 @@ paths:
8835 8835
       parameters:
8836 8836
         - name: "name"
8837 8837
           in: "path"
8838
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8838
+          description: |
8839
+            The name of the plugin. The `:latest` tag is optional, and is the
8840
+            default if omitted.
8839 8841
           required: true
8840 8842
           type: "string"
8841 8843
       tags: ["Plugin"]
... ...
@@ -8857,7 +9327,9 @@ paths:
8857 8857
       parameters:
8858 8858
         - name: "name"
8859 8859
           in: "path"
8860
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8860
+          description: |
8861
+            The name of the plugin. The `:latest` tag is optional, and is the
8862
+            default if omitted.
8861 8863
           required: true
8862 8864
           type: "string"
8863 8865
         - name: "remote"
... ...
@@ -8870,14 +9342,21 @@ paths:
8870 8870
           type: "string"
8871 8871
         - name: "X-Registry-Auth"
8872 8872
           in: "header"
8873
-          description: "A base64-encoded auth configuration to use when pulling a plugin from a registry. [See the authentication section for details.](#section/Authentication)"
8873
+          description: |
8874
+            A base64url-encoded auth configuration to use when pulling a plugin
8875
+            from a registry.
8876
+
8877
+            Refer to the [authentication section](#section/Authentication) for
8878
+            details.
8874 8879
           type: "string"
8875 8880
         - name: "body"
8876 8881
           in: "body"
8877 8882
           schema:
8878 8883
             type: "array"
8879 8884
             items:
8880
-              description: "Describes a permission accepted by the user upon installing the plugin."
8885
+              description: |
8886
+                Describes a permission accepted by the user upon installing the
8887
+                plugin.
8881 8888
               type: "object"
8882 8889
               properties:
8883 8890
                 Name:
... ...
@@ -8918,7 +9397,9 @@ paths:
8918 8918
       parameters:
8919 8919
         - name: "name"
8920 8920
           in: "query"
8921
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8921
+          description: |
8922
+            The name of the plugin. The `:latest` tag is optional, and is the
8923
+            default if omitted.
8922 8924
           required: true
8923 8925
           type: "string"
8924 8926
         - name: "tarContext"
... ...
@@ -8937,7 +9418,9 @@ paths:
8937 8937
       parameters:
8938 8938
         - name: "name"
8939 8939
           in: "path"
8940
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8940
+          description: |
8941
+            The name of the plugin. The `:latest` tag is optional, and is the
8942
+            default if omitted.
8941 8943
           required: true
8942 8944
           type: "string"
8943 8945
       responses:
... ...
@@ -8961,7 +9444,9 @@ paths:
8961 8961
       parameters:
8962 8962
         - name: "name"
8963 8963
           in: "path"
8964
-          description: "The name of the plugin. The `:latest` tag is optional, and is the default if omitted."
8964
+          description: |
8965
+            The name of the plugin. The `:latest` tag is optional, and is the
8966
+            default if omitted.
8965 8967
           required: true
8966 8968
           type: "string"
8967 8969
         - name: "body"
... ...
@@ -9110,7 +9595,9 @@ paths:
9110 9110
             $ref: "#/definitions/NodeSpec"
9111 9111
         - name: "version"
9112 9112
           in: "query"
9113
-          description: "The version number of the node object being updated. This is required to avoid conflicting writes."
9113
+          description: |
9114
+            The version number of the node object being updated. This is required
9115
+            to avoid conflicting writes.
9114 9116
           type: "integer"
9115 9117
           format: "int64"
9116 9118
           required: true
... ...
@@ -9171,20 +9658,35 @@ paths:
9171 9171
             type: "object"
9172 9172
             properties:
9173 9173
               ListenAddr:
9174
-                description: "Listen address used for inter-manager communication, as well as determining the networking interface used for the VXLAN Tunnel Endpoint (VTEP). This can either be an address/port combination in the form `192.168.1.1:4567`, or an interface followed by a port number, like `eth0:4567`. If the port number is omitted, the default swarm listening port is used."
9174
+                description: |
9175
+                  Listen address used for inter-manager communication, as well
9176
+                  as determining the networking interface used for the VXLAN
9177
+                  Tunnel Endpoint (VTEP). This can either be an address/port
9178
+                  combination in the form `192.168.1.1:4567`, or an interface
9179
+                  followed by a port number, like `eth0:4567`. If the port number
9180
+                  is omitted, the default swarm listening port is used.
9175 9181
                 type: "string"
9176 9182
               AdvertiseAddr:
9177
-                description: "Externally reachable address advertised to other nodes. This can either be an address/port combination in the form `192.168.1.1:4567`, or an interface followed by a port number, like `eth0:4567`. If the port number is omitted, the port number from the listen address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when possible."
9183
+                description: |
9184
+                  Externally reachable address advertised to other nodes. This
9185
+                  can either be an address/port combination in the form
9186
+                  `192.168.1.1:4567`, or an interface followed by a port number,
9187
+                  like `eth0:4567`. If the port number is omitted, the port
9188
+                  number from the listen address is used. If `AdvertiseAddr` is
9189
+                  not specified, it will be automatically detected when possible.
9178 9190
                 type: "string"
9179 9191
               DataPathAddr:
9180 9192
                 description: |
9181
-                  Address or interface to use for data path traffic (format: `<ip|interface>`), for example,  `192.168.1.1`,
9182
-                  or an interface, like `eth0`. If `DataPathAddr` is unspecified, the same address as `AdvertiseAddr`
9183
-                  is used.
9184
-
9185
-                  The `DataPathAddr` specifies the address that global scope network drivers will publish towards other
9186
-                  nodes in order to reach the containers running on this node. Using this parameter it is possible to
9187
-                  separate the container data traffic from the management traffic of the cluster.
9193
+                  Address or interface to use for data path traffic (format:
9194
+                  `<ip|interface>`), for example,  `192.168.1.1`, or an interface,
9195
+                  like `eth0`. If `DataPathAddr` is unspecified, the same address
9196
+                  as `AdvertiseAddr` is used.
9197
+
9198
+                  The `DataPathAddr` specifies the address that global scope
9199
+                  network drivers will publish towards other  nodes in order to
9200
+                  reach the containers running on this node. Using this parameter
9201
+                  it is possible to separate the container data traffic from the
9202
+                  management traffic of the cluster.
9188 9203
                 type: "string"
9189 9204
               DataPathPort:
9190 9205
                 description: |
... ...
@@ -9195,7 +9697,8 @@ paths:
9195 9195
                 format: "uint32"
9196 9196
               DefaultAddrPool:
9197 9197
                 description: |
9198
-                  Default Address Pool specifies default subnet pools for global scope networks.
9198
+                  Default Address Pool specifies default subnet pools for global
9199
+                  scope networks.
9199 9200
                 type: "array"
9200 9201
                 items:
9201 9202
                   type: "string"
... ...
@@ -9205,7 +9708,8 @@ paths:
9205 9205
                 type: "boolean"
9206 9206
               SubnetSize:
9207 9207
                 description: |
9208
-                  SubnetSize specifies the subnet size of the networks created from the default subnet pool
9208
+                  SubnetSize specifies the subnet size of the networks created
9209
+                  from the default subnet pool.
9209 9210
                 type: "integer"
9210 9211
                 format: "uint32"
9211 9212
               Spec:
... ...
@@ -9252,24 +9756,37 @@ paths:
9252 9252
             type: "object"
9253 9253
             properties:
9254 9254
               ListenAddr:
9255
-                description: "Listen address used for inter-manager communication if the node gets promoted to manager, as well as determining the networking interface used for the VXLAN Tunnel Endpoint (VTEP)."
9255
+                description: |
9256
+                  Listen address used for inter-manager communication if the node
9257
+                  gets promoted to manager, as well as determining the networking
9258
+                  interface used for the VXLAN Tunnel Endpoint (VTEP).
9256 9259
                 type: "string"
9257 9260
               AdvertiseAddr:
9258
-                description: "Externally reachable address advertised to other nodes. This can either be an address/port combination in the form `192.168.1.1:4567`, or an interface followed by a port number, like `eth0:4567`. If the port number is omitted, the port number from the listen address is used. If `AdvertiseAddr` is not specified, it will be automatically detected when possible."
9261
+                description: |
9262
+                  Externally reachable address advertised to other nodes. This
9263
+                  can either be an address/port combination in the form
9264
+                  `192.168.1.1:4567`, or an interface followed by a port number,
9265
+                  like `eth0:4567`. If the port number is omitted, the port
9266
+                  number from the listen address is used. If `AdvertiseAddr` is
9267
+                  not specified, it will be automatically detected when possible.
9259 9268
                 type: "string"
9260 9269
               DataPathAddr:
9261 9270
                 description: |
9262
-                  Address or interface to use for data path traffic (format: `<ip|interface>`), for example,  `192.168.1.1`,
9263
-                  or an interface, like `eth0`. If `DataPathAddr` is unspecified, the same address as `AdvertiseAddr`
9264
-                  is used.
9271
+                  Address or interface to use for data path traffic (format:
9272
+                  `<ip|interface>`), for example,  `192.168.1.1`, or an interface,
9273
+                  like `eth0`. If `DataPathAddr` is unspecified, the same addres
9274
+                  as `AdvertiseAddr` is used.
9265 9275
 
9266
-                  The `DataPathAddr` specifies the address that global scope network drivers will publish towards other
9267
-                  nodes in order to reach the containers running on this node. Using this parameter it is possible to
9268
-                  separate the container data traffic from the management traffic of the cluster.
9276
+                  The `DataPathAddr` specifies the address that global scope
9277
+                  network drivers will publish towards other nodes in order to
9278
+                  reach the containers running on this node. Using this parameter
9279
+                  it is possible to separate the container data traffic from the
9280
+                  management traffic of the cluster.
9269 9281
 
9270 9282
                 type: "string"
9271 9283
               RemoteAddrs:
9272
-                description: "Addresses of manager nodes already participating in the swarm."
9284
+                description: |
9285
+                  Addresses of manager nodes already participating in the swarm.
9273 9286
                 type: "array"
9274 9287
                 items:
9275 9288
                   type: "string"
... ...
@@ -9300,7 +9817,9 @@ paths:
9300 9300
             $ref: "#/definitions/ErrorResponse"
9301 9301
       parameters:
9302 9302
         - name: "force"
9303
-          description: "Force leave swarm, even if this is the last manager or that it will break the cluster."
9303
+          description: |
9304
+            Force leave swarm, even if this is the last manager or that it will
9305
+            break the cluster.
9304 9306
           in: "query"
9305 9307
           type: "boolean"
9306 9308
           default: false
... ...
@@ -9332,7 +9851,9 @@ paths:
9332 9332
             $ref: "#/definitions/SwarmSpec"
9333 9333
         - name: "version"
9334 9334
           in: "query"
9335
-          description: "The version number of the swarm object being updated. This is required to avoid conflicting writes."
9335
+          description: |
9336
+            The version number of the swarm object being updated. This is
9337
+            required to avoid conflicting writes.
9336 9338
           type: "integer"
9337 9339
           format: "int64"
9338 9340
           required: true
... ...
@@ -9435,7 +9956,10 @@ paths:
9435 9435
           in: "query"
9436 9436
           type: "string"
9437 9437
           description: |
9438
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the services list. Available filters:
9438
+            A JSON encoded value of the filters (a `map[string][]string`) to
9439
+            process on the services list.
9440
+
9441
+            Available filters:
9439 9442
 
9440 9443
             - `id=<service id>`
9441 9444
             - `label=<service label>`
... ...
@@ -9563,7 +10087,12 @@ paths:
9563 9563
                     foo: "bar"
9564 9564
         - name: "X-Registry-Auth"
9565 9565
           in: "header"
9566
-          description: "A base64-encoded auth configuration for pulling from private registries. [See the authentication section for details.](#section/Authentication)"
9566
+          description: |
9567
+            A base64url-encoded auth configuration for pulling from private
9568
+            registries.
9569
+
9570
+            Refer to the [authentication section](#section/Authentication) for
9571
+            details.
9567 9572
           type: "string"
9568 9573
       tags: ["Service"]
9569 9574
   /services/{id}:
... ...
@@ -9699,10 +10228,12 @@ paths:
9699 9699
 
9700 9700
         - name: "version"
9701 9701
           in: "query"
9702
-          description: "The version number of the service object being updated.
9703
-          This is required to avoid conflicting writes.
9704
-          This version number should be the value as currently set on the service *before* the update.
9705
-          You can find the current version by calling `GET /services/{id}`"
9702
+          description: |
9703
+            The version number of the service object being updated. This is
9704
+            required to avoid conflicting writes.
9705
+            This version number should be the value as currently set on the
9706
+            service *before* the update. You can find the current version by
9707
+            calling `GET /services/{id}`
9706 9708
           required: true
9707 9709
           type: "integer"
9708 9710
         - name: "registryAuthFrom"
... ...
@@ -9722,7 +10253,12 @@ paths:
9722 9722
           type: "string"
9723 9723
         - name: "X-Registry-Auth"
9724 9724
           in: "header"
9725
-          description: "A base64-encoded auth configuration for pulling from private registries. [See the authentication section for details.](#section/Authentication)"
9725
+          description: |
9726
+            A base64url-encoded auth configuration for pulling from private
9727
+            registries.
9728
+
9729
+            Refer to the [authentication section](#section/Authentication) for
9730
+            details.
9726 9731
           type: "string"
9727 9732
 
9728 9733
       tags: ["Service"]
... ...
@@ -9730,9 +10266,11 @@ paths:
9730 9730
     get:
9731 9731
       summary: "Get service logs"
9732 9732
       description: |
9733
-        Get `stdout` and `stderr` logs from a service. See also [`/containers/{id}/logs`](#operation/ContainerLogs).
9733
+        Get `stdout` and `stderr` logs from a service. See also
9734
+        [`/containers/{id}/logs`](#operation/ContainerLogs).
9734 9735
 
9735
-        **Note**: This endpoint works only for services with the `local`, `json-file` or `journald` logging drivers.
9736
+        **Note**: This endpoint works only for services with the `local`,
9737
+        `json-file` or `journald` logging drivers.
9736 9738
       operationId: "ServiceLogs"
9737 9739
       responses:
9738 9740
         200:
... ...
@@ -9793,7 +10331,9 @@ paths:
9793 9793
           default: false
9794 9794
         - name: "tail"
9795 9795
           in: "query"
9796
-          description: "Only return this number of log lines from the end of the logs. Specify as an integer or `all` to output all log lines."
9796
+          description: |
9797
+            Only return this number of log lines from the end of the logs.
9798
+            Specify as an integer or `all` to output all log lines.
9797 9799
           type: "string"
9798 9800
           default: "all"
9799 9801
       tags: ["Service"]
... ...
@@ -9934,7 +10474,10 @@ paths:
9934 9934
           in: "query"
9935 9935
           type: "string"
9936 9936
           description: |
9937
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the tasks list. Available filters:
9937
+            A JSON encoded value of the filters (a `map[string][]string`) to
9938
+            process on the tasks list.
9939
+
9940
+            Available filters:
9938 9941
 
9939 9942
             - `desired-state=(running | shutdown | accepted)`
9940 9943
             - `id=<task id>`
... ...
@@ -9977,9 +10520,11 @@ paths:
9977 9977
     get:
9978 9978
       summary: "Get task logs"
9979 9979
       description: |
9980
-        Get `stdout` and `stderr` logs from a task. See also [`/containers/{id}/logs`](#operation/ContainerLogs).
9980
+        Get `stdout` and `stderr` logs from a task.
9981
+        See also [`/containers/{id}/logs`](#operation/ContainerLogs).
9981 9982
 
9982
-        **Note**: This endpoint works only for services with the `local`, `json-file` or `journald` logging drivers.
9983
+        **Note**: This endpoint works only for services with the `local`,
9984
+        `json-file` or `journald` logging drivers.
9983 9985
       operationId: "TaskLogs"
9984 9986
       responses:
9985 9987
         200:
... ...
@@ -10040,7 +10585,9 @@ paths:
10040 10040
           default: false
10041 10041
         - name: "tail"
10042 10042
           in: "query"
10043
-          description: "Only return this number of log lines from the end of the logs. Specify as an integer or `all` to output all log lines."
10043
+          description: |
10044
+            Only return this number of log lines from the end of the logs.
10045
+            Specify as an integer or `all` to output all log lines.
10044 10046
           type: "string"
10045 10047
           default: "all"
10046 10048
       tags: ["Task"]
... ...
@@ -10094,7 +10641,10 @@ paths:
10094 10094
           in: "query"
10095 10095
           type: "string"
10096 10096
           description: |
10097
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the secrets list. Available filters:
10097
+            A JSON encoded value of the filters (a `map[string][]string`) to
10098
+            process on the secrets list.
10099
+
10100
+            Available filters:
10098 10101
 
10099 10102
             - `id=<secret id>`
10100 10103
             - `label=<key> or label=<key>=value`
... ...
@@ -10251,10 +10801,15 @@ paths:
10251 10251
           in: "body"
10252 10252
           schema:
10253 10253
             $ref: "#/definitions/SecretSpec"
10254
-          description: "The spec of the secret to update. Currently, only the Labels field can be updated. All other fields must remain unchanged from the [SecretInspect endpoint](#operation/SecretInspect) response values."
10254
+          description: |
10255
+            The spec of the secret to update. Currently, only the Labels field
10256
+            can be updated. All other fields must remain unchanged from the
10257
+            [SecretInspect endpoint](#operation/SecretInspect) response values.
10255 10258
         - name: "version"
10256 10259
           in: "query"
10257
-          description: "The version number of the secret object being updated. This is required to avoid conflicting writes."
10260
+          description: |
10261
+            The version number of the secret object being updated. This is
10262
+            required to avoid conflicting writes.
10258 10263
           type: "integer"
10259 10264
           format: "int64"
10260 10265
           required: true
... ...
@@ -10293,7 +10848,10 @@ paths:
10293 10293
           in: "query"
10294 10294
           type: "string"
10295 10295
           description: |
10296
-            A JSON encoded value of the filters (a `map[string][]string`) to process on the configs list. Available filters:
10296
+            A JSON encoded value of the filters (a `map[string][]string`) to
10297
+            process on the configs list.
10298
+
10299
+            Available filters:
10297 10300
 
10298 10301
             - `id=<config id>`
10299 10302
             - `label=<key> or label=<key>=value`
... ...
@@ -10437,10 +10995,15 @@ paths:
10437 10437
           in: "body"
10438 10438
           schema:
10439 10439
             $ref: "#/definitions/ConfigSpec"
10440
-          description: "The spec of the config to update. Currently, only the Labels field can be updated. All other fields must remain unchanged from the [ConfigInspect endpoint](#operation/ConfigInspect) response values."
10440
+          description: |
10441
+            The spec of the config to update. Currently, only the Labels field
10442
+            can be updated. All other fields must remain unchanged from the
10443
+            [ConfigInspect endpoint](#operation/ConfigInspect) response values.
10441 10444
         - name: "version"
10442 10445
           in: "query"
10443
-          description: "The version number of the config object being updated. This is required to avoid conflicting writes."
10446
+          description: |
10447
+            The version number of the config object being updated. This is
10448
+            required to avoid conflicting writes.
10444 10449
           type: "integer"
10445 10450
           format: "int64"
10446 10451
           required: true
... ...
@@ -10448,7 +11011,8 @@ paths:
10448 10448
   /distribution/{name}/json:
10449 10449
     get:
10450 10450
       summary: "Get image information from the registry"
10451
-      description: "Return image digest and platform information by contacting the registry."
10451
+      description: |
10452
+        Return image digest and platform information by contacting the registry.
10452 10453
       operationId: "DistributionInspect"
10453 10454
       produces:
10454 10455
         - "application/json"
... ...
@@ -10463,7 +11027,8 @@ paths:
10463 10463
             properties:
10464 10464
               Descriptor:
10465 10465
                 type: "object"
10466
-                description: "A descriptor struct containing digest, media type, and size"
10466
+                description: |
10467
+                  A descriptor struct containing digest, media type, and size.
10467 10468
                 properties:
10468 10469
                   MediaType:
10469 10470
                     type: "string"
... ...
@@ -10478,7 +11043,8 @@ paths:
10478 10478
                       type: "string"
10479 10479
               Platforms:
10480 10480
                 type: "array"
10481
-                description: "An array containing all platforms supported by the image"
10481
+                description: |
10482
+                  An array containing all platforms supported by the image.
10482 10483
                 items:
10483 10484
                   type: "object"
10484 10485
                   properties:
... ...
@@ -10537,11 +11103,13 @@ paths:
10537 10537
     post:
10538 10538
       summary: "Initialize interactive session"
10539 10539
       description: |
10540
-        Start a new interactive session with a server. Session allows server to call back to the client for advanced capabilities.
10540
+        Start a new interactive session with a server. Session allows server to
10541
+        call back to the client for advanced capabilities.
10541 10542
 
10542 10543
         ### Hijacking
10543 10544
 
10544
-        This endpoint hijacks the HTTP connection to HTTP2 transport that allows the client to expose gPRC services on that connection.
10545
+        This endpoint hijacks the HTTP connection to HTTP2 transport that allows
10546
+        the client to expose gPRC services on that connection.
10545 10547
 
10546 10548
         For example, the client sends this request to upgrade the connection:
10547 10549
 
... ...
@@ -10551,7 +11119,8 @@ paths:
10551 10551
         Connection: Upgrade
10552 10552
         ```
10553 10553
 
10554
-        The Docker daemon will respond with a `101 UPGRADED` response follow with the raw stream:
10554
+        The Docker daemon responds with a `101 UPGRADED` response follow with
10555
+        the raw stream:
10555 10556
 
10556 10557
         ```
10557 10558
         HTTP/1.1 101 UPGRADED