mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Added additional type to enum of openapi
This commit is contained in:
@@ -9,6 +9,7 @@ export enum GetAssetThumbnailFormatEnum {
|
|||||||
export class GetAssetThumbnailDto {
|
export class GetAssetThumbnailDto {
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@ApiProperty({
|
@ApiProperty({
|
||||||
|
type: String,
|
||||||
enum: GetAssetThumbnailFormatEnum,
|
enum: GetAssetThumbnailFormatEnum,
|
||||||
default: GetAssetThumbnailFormatEnum.WEBP,
|
default: GetAssetThumbnailFormatEnum.WEBP,
|
||||||
required: false,
|
required: false,
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export class GetJobDto {
|
|||||||
message: `params must be one of ${Object.values(JobId).join()}`,
|
message: `params must be one of ${Object.values(JobId).join()}`,
|
||||||
})
|
})
|
||||||
@ApiProperty({
|
@ApiProperty({
|
||||||
|
type: String,
|
||||||
enum: JobId,
|
enum: JobId,
|
||||||
enumName: 'JobId',
|
enumName: 'JobId',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user