[bugfix] Use null for empty api status language (#1268)

* [bugfix] Use null for empty api status `language`

* update swagger docs
This commit is contained in:
tobi 2022-12-15 09:41:49 +01:00 committed by GitHub
commit 1d24c1c283
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 5 deletions

View file

@ -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