From 37a3c872d12ab1a023539c46efe7fd5ace06ecd6 Mon Sep 17 00:00:00 2001 From: Maksym Verbovyi Date: Thu, 19 Oct 2023 10:41:27 +0200 Subject: [PATCH] docs: correct upload create docs (add required fields) --- doc/compiled.json | 5 +++++ paths/uploads/create.yaml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/compiled.json b/doc/compiled.json index 199afe93..d9e1239d 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -12908,6 +12908,11 @@ "schema": { "type": "object", "title": "upload/create/parameters", + "required": [ + "file", + "file_format", + "locale_id" + ], "properties": { "branch": { "description": "specify the branch to use", diff --git a/paths/uploads/create.yaml b/paths/uploads/create.yaml index 396e011d..203ce22b 100644 --- a/paths/uploads/create.yaml +++ b/paths/uploads/create.yaml @@ -59,6 +59,10 @@ requestBody: schema: type: object title: upload/create/parameters + required: + - file + - file_format + - locale_id properties: branch: description: specify the branch to use