chore: generate swagger docs

This commit is contained in:
kolaente 2021-12-12 21:52:07 +01:00 committed by Gitea
parent 7fa0865188
commit ba2bdff391
3 changed files with 21 additions and 0 deletions

View file

@ -7437,6 +7437,9 @@ var doc = `{
"background.Image": { "background.Image": {
"type": "object", "type": "object",
"properties": { "properties": {
"blur_hash": {
"type": "string"
},
"id": { "id": {
"type": "string" "type": "string"
}, },
@ -7901,6 +7904,10 @@ var doc = `{
"models.List": { "models.List": {
"type": "object", "type": "object",
"properties": { "properties": {
"background_blur_hash": {
"description": "Contains a very small version of the list background to use as a blurry preview until the actual background is loaded. Check out https://blurha.sh/ to learn how it works.",
"type": "string"
},
"background_information": { "background_information": {
"description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background" "description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background"
}, },

View file

@ -7421,6 +7421,9 @@
"background.Image": { "background.Image": {
"type": "object", "type": "object",
"properties": { "properties": {
"blur_hash": {
"type": "string"
},
"id": { "id": {
"type": "string" "type": "string"
}, },
@ -7885,6 +7888,10 @@
"models.List": { "models.List": {
"type": "object", "type": "object",
"properties": { "properties": {
"background_blur_hash": {
"description": "Contains a very small version of the list background to use as a blurry preview until the actual background is loaded. Check out https://blurha.sh/ to learn how it works.",
"type": "string"
},
"background_information": { "background_information": {
"description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background" "description": "Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can be accessed at /lists/{listID}/background"
}, },

View file

@ -7,6 +7,8 @@ definitions:
type: object type: object
background.Image: background.Image:
properties: properties:
blur_hash:
type: string
id: id:
type: string type: string
info: info:
@ -389,6 +391,11 @@ definitions:
type: object type: object
models.List: models.List:
properties: properties:
background_blur_hash:
description: Contains a very small version of the list background to use as
a blurry preview until the actual background is loaded. Check out https://blurha.sh/
to learn how it works.
type: string
background_information: background_information:
description: Holds extra information about the background set since some background description: Holds extra information about the background set since some background
providers require attribution or similar. If not null, the background can providers require attribution or similar. If not null, the background can