mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 23:22:25 -05:00
Frodo swaggins (#126)
* more swagger fun * document a whole bunch more stuff * more swagger yayyyyyyy * progress + go fmt
This commit is contained in:
parent
cb85f65cca
commit
0386a28b5a
58 changed files with 3289 additions and 469 deletions
|
|
@ -32,11 +32,11 @@ type Card struct {
|
|||
// example: Is water wet? We're not sure. In this article, we ask an expert...
|
||||
Description string `json:"description"`
|
||||
// The type of the preview card.
|
||||
// String (Enumerable, oneOf)
|
||||
// link = Link OEmbed
|
||||
// photo = Photo OEmbed
|
||||
// video = Video OEmbed
|
||||
// rich = iframe OEmbed. Not currently accepted, so won't show up in practice.
|
||||
// enum:
|
||||
// - link
|
||||
// - photo
|
||||
// - video
|
||||
// - rich
|
||||
// example: link
|
||||
Type string `json:"type"`
|
||||
// The author of the original resource.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue