[bugfix] Fix incorrect field name for status source, add helpful message (#2854)

* [bugfix] Fix incorrect field name for status source, add helpful message

* swagger

* yyammm
This commit is contained in:
tobi 2024-04-18 13:22:55 +02:00 committed by GitHub
commit b7c629a18a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 7 deletions

View file

@ -2433,14 +2433,14 @@ definitions:
example: 01FBVD42CQ3ZEEVMW180SBX03B
type: string
x-go-name: ID
source:
description: Plain-text source of a status.
type: string
x-go-name: Text
spoiler_text:
description: Plain-text version of spoiler text.
type: string
x-go-name: SpoilerText
text:
description: Plain-text source of a status.
type: string
x-go-name: Text
type: object
x-go-name: StatusSource
x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model