mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Include raw, live and animated photos in the Swagger UI
This commit is contained in:
parent
14caeb6187
commit
58062f6521
2 changed files with 6 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ RSpec.describe 'Api::V1::PhotosController', type: :request do
|
|||
city: { type: :string },
|
||||
state: { 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] },
|
||||
source: { type: :string, enum: %w[immich photoprism] }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -441,8 +441,13 @@ paths:
|
|||
type:
|
||||
type: string
|
||||
enum:
|
||||
- IMAGE
|
||||
- VIDEO
|
||||
- image
|
||||
- video
|
||||
- raw
|
||||
- live
|
||||
- animated
|
||||
orientation:
|
||||
type: string
|
||||
enum:
|
||||
|
|
|
|||
Loading…
Reference in a new issue