From 91eb08c63a684115af2e6a44c9b5db87b2a9a450 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 02:22:00 +0100 Subject: [PATCH] Update Documentation with core changes (#129) Co-authored-by: discoursebuild --- openapi.json | 26 +++++++++++++++++++++++--- openapi.yml | 15 +++++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-) diff --git a/openapi.json b/openapi.json index b4e57e8..8a1475a 100644 --- a/openapi.json +++ b/openapi.json @@ -259,6 +259,9 @@ }, "badge_type_id": { "type": "integer" + }, + "show_in_post_header": { + "type": "boolean" } }, "required": [ @@ -283,7 +286,8 @@ "auto_revoke", "show_posts", "badge_type_id", - "image_upload_id" + "image_upload_id", + "show_in_post_header" ] } }, @@ -533,6 +537,9 @@ }, "badge_type_id": { "type": "integer" + }, + "show_in_post_header": { + "type": "boolean" } }, "required": [ @@ -557,7 +564,8 @@ "auto_revoke", "show_posts", "badge_type_id", - "image_upload_id" + "image_upload_id", + "show_in_post_header" ] } }, @@ -724,6 +732,9 @@ }, "badge_type_id": { "type": "integer" + }, + "show_in_post_header": { + "type": "boolean" } }, "required": [ @@ -748,7 +759,8 @@ "auto_revoke", "show_posts", "badge_type_id", - "image_upload_id" + "image_upload_id", + "show_in_post_header" ] } }, @@ -4692,6 +4704,10 @@ "null" ] }, + "badges_granted": { + "type": "array", + "items": {} + }, "version": { "type": "integer" }, @@ -5333,6 +5349,10 @@ "null" ] }, + "badges_granted": { + "type": "array", + "items": {} + }, "version": { "type": "integer" }, diff --git a/openapi.yml b/openapi.yml index 66b20a9..6a9d477 100644 --- a/openapi.yml +++ b/openapi.yml @@ -233,6 +233,8 @@ paths: - 'null' badge_type_id: type: integer + show_in_post_header: + type: boolean required: - id - name @@ -256,6 +258,7 @@ paths: - show_posts - badge_type_id - image_upload_id + - show_in_post_header badge_types: type: array items: @@ -429,6 +432,8 @@ paths: type: boolean badge_type_id: type: integer + show_in_post_header: + type: boolean required: - id - name @@ -452,6 +457,7 @@ paths: - show_posts - badge_type_id - image_upload_id + - show_in_post_header required: - badge_types - badge @@ -563,6 +569,8 @@ paths: type: boolean badge_type_id: type: integer + show_in_post_header: + type: boolean required: - id - name @@ -586,6 +594,7 @@ paths: - show_posts - badge_type_id - image_upload_id + - show_in_post_header required: - badge_types - badge @@ -3342,6 +3351,9 @@ paths: type: - integer - 'null' + badges_granted: + type: array + items: {} version: type: integer can_edit: @@ -3811,6 +3823,9 @@ paths: type: - integer - 'null' + badges_granted: + type: array + items: {} version: type: integer can_edit: