mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
Added additional type to enum of openapi
This commit is contained in:
parent
1adc64a352
commit
a2882a4908
@ -9,6 +9,7 @@ export enum GetAssetThumbnailFormatEnum {
|
||||
export class GetAssetThumbnailDto {
|
||||
@IsOptional()
|
||||
@ApiProperty({
|
||||
type: String,
|
||||
enum: GetAssetThumbnailFormatEnum,
|
||||
default: GetAssetThumbnailFormatEnum.WEBP,
|
||||
required: false,
|
||||
|
@ -14,6 +14,7 @@ export class GetJobDto {
|
||||
message: `params must be one of ${Object.values(JobId).join()}`,
|
||||
})
|
||||
@ApiProperty({
|
||||
type: String,
|
||||
enum: JobId,
|
||||
enumName: 'JobId',
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user