mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04: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 {
|
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',
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user