mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore(server): enable swagger to take class validator rules into account (#9022)
* enable swagger to take class validator rules into account * chore: open api
This commit is contained in:
parent
c9a079201a
commit
7f1651df71
15 changed files with 78 additions and 1 deletions
|
|
@ -28,12 +28,16 @@ class SystemConfigImageDto {
|
|||
|
||||
ImageFormat previewFormat;
|
||||
|
||||
/// Minimum value: 1
|
||||
int previewSize;
|
||||
|
||||
/// Minimum value: 1
|
||||
/// Maximum value: 100
|
||||
int quality;
|
||||
|
||||
ImageFormat thumbnailFormat;
|
||||
|
||||
/// Minimum value: 1
|
||||
int thumbnailSize;
|
||||
|
||||
@override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue