mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -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 },
|
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] }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue