Include raw, live and animated photos in the Swagger UI

This commit is contained in:
Eugene Burmakin 2024-12-10 19:55:59 +01:00
parent 14caeb6187
commit 58062f6521
2 changed files with 6 additions and 1 deletions

View file

@ -143,7 +143,7 @@ RSpec.describe 'Api::V1::PhotosController', type: :request do
city: { type: :string }, city: { type: :string },
state: { type: :string }, state: { type: :string },
country: { type: :string }, country: { type: :string },
type: { type: :string, enum: %w[image video] }, type: { type: :string, enum: %w[IMAGE VIDEO image video raw live animated] },
orientation: { type: :string, enum: %w[portrait landscape] }, orientation: { type: :string, enum: %w[portrait landscape] },
source: { type: :string, enum: %w[immich photoprism] } source: { type: :string, enum: %w[immich photoprism] }
} }

View file

@ -441,8 +441,13 @@ paths:
type: type:
type: string type: string
enum: enum:
- IMAGE
- VIDEO
- image - image
- video - video
- raw
- live
- animated
orientation: orientation:
type: string type: string
enum: enum: