From f60849189a8c8b1bfe72c71473085d7b06f6acec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 18 Jul 2022 17:47:57 +0200 Subject: [PATCH] OAPI: Clean up `FlamencoVersion` schema definition Change the `FlamencoVersion` schema definition so that it follows the style of the other schema definitions: - List properties before mentioning which are required. - Put quotes around the property names, so that they stand out from the other YAML keys. --- pkg/api/flamenco-openapi.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/api/flamenco-openapi.yaml b/pkg/api/flamenco-openapi.yaml index 3d82feaa..b26f8a46 100644 --- a/pkg/api/flamenco-openapi.yaml +++ b/pkg/api/flamenco-openapi.yaml @@ -1066,10 +1066,10 @@ components: schemas: FlamencoVersion: type: object - required: [version, name] properties: - version: { type: string } - name: { type: string } + "version": { type: string } + "name": { type: string } + required: [version, name] ManagerConfiguration: type: object