Files
moby/api/swagger.yaml
T
Florian Stellbrink 066b768366 fix(swagger): replace incorrect indentation
this file had bad indentation before. this was crashing when attempting
to parse it in spec compliant parsers like js-yaml or libfyaml.

as per spec https://yaml.org/spec/1.2.2/#823-block-nodes:

> Flow nodes must be indented by at least one more space than the parent
> block collection.

since we still run yamllint the indentation could not be fixed since
it asserts the wrong indentation. instead the collections are converted
from flow style to block style.

Signed-off-by: Florian Stellbrink <flo@stellbr.ink>
2026-09-30 20:48:14 +02:00

464 KiB