]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Simplify nullable field
authorStephen Finucane <stephen@that.guru>
Fri, 13 Jan 2023 14:55:57 +0000 (14:55 +0000)
committerStephen Finucane <stephen@that.guru>
Tue, 24 Jan 2023 19:04:42 +0000 (19:04 +0000)
commite10bd21e87870031e4cce88a94128d06d32063ee
tree4de580d2e2b8cdbe162821aefff4f0a9a1c276f2
parent5d07907dddb0c3e80715d5c0749f40c7cf1524b0
Simplify nullable field

openapi-validator requires we specify 'type' twice when using 'oneOf'.
Do this, removing some 'oneOf' declarations in the process.

Signed-off-by: Stephen Finucane <stephen@that.guru>
docs/api/schemas/latest/patchwork.yaml
docs/api/schemas/patchwork.j2
docs/api/schemas/v1.0/patchwork.yaml
docs/api/schemas/v1.1/patchwork.yaml
docs/api/schemas/v1.2/patchwork.yaml
docs/api/schemas/v1.3/patchwork.yaml