From 1d24c1c28312a5a97746df2e091a0838fa24cb7e Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 15 Dec 2022 09:41:49 +0100 Subject: [bugfix] Use null for empty api status `language` (#1268) * [bugfix] Use null for empty api status `language` * update swagger docs --- docs/api/swagger.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/api') diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index fe0890fb5..b790cb71b 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -1575,7 +1575,9 @@ definitions: type: string x-go-name: InReplyToID language: - description: Primary language of this status (ISO 639 Part 1 two-letter language code). + description: |- + Primary language of this status (ISO 639 Part 1 two-letter language code). + Will be null if language is not known. example: en type: string x-go-name: Language @@ -1802,7 +1804,9 @@ definitions: type: string x-go-name: InReplyToID language: - description: Primary language of this status (ISO 639 Part 1 two-letter language code). + description: |- + Primary language of this status (ISO 639 Part 1 two-letter language code). + Will be null if language is not known. example: en type: string x-go-name: Language -- cgit v1.2.3