From ba2bdff39109db9ecc4b525e39e2642b41ac03b8 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 12 Dec 2021 21:52:07 +0100 Subject: [PATCH] chore: generate swagger docs --- pkg/swagger/docs.go | 7 +++++++ pkg/swagger/swagger.json | 7 +++++++ pkg/swagger/swagger.yaml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index ab411d3ff8..5b2b39e2ea 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -7437,6 +7437,9 @@ var doc = `{ "background.Image": { "type": "object", "properties": { + "blur_hash": { + "type": "string" + }, "id": { "type": "string" }, @@ -7901,6 +7904,10 @@ var doc = `{ "models.List": { "type": "object", "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": { "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" }, diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 01a96a8a0e..72a5973007 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -7421,6 +7421,9 @@ "background.Image": { "type": "object", "properties": { + "blur_hash": { + "type": "string" + }, "id": { "type": "string" }, @@ -7885,6 +7888,10 @@ "models.List": { "type": "object", "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": { "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" }, diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index b3e1849a59..adb7e0d505 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -7,6 +7,8 @@ definitions: type: object background.Image: properties: + blur_hash: + type: string id: type: string info: @@ -389,6 +391,11 @@ definitions: type: object models.List: 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: description: Holds extra information about the background set since some background providers require attribution or similar. If not null, the background can