]> git.ipfire.org Git - thirdparty/patchwork.git/commit
docs: Move common path parameters to parent
authorStephen Finucane <stephen@that.guru>
Thu, 16 Apr 2020 10:43:04 +0000 (11:43 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 18 Apr 2020 10:57:28 +0000 (11:57 +0100)
commit11131063b49b81d86cf51a8c2704370997db3d38
treebc1c24c84aa2da4958d4b1a1262f5c2eeb6fcce6
parentb4d77239c20f788fe65d71953b2889ebfa105397
docs: Move common path parameters to parent

Turns out you don't have to nest common elements under individual routes
[1]. Less duplication and more sensible docs = winning.

[1] https://swagger.io/specification/#pathItemObject

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