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:
Daniel Dietzler 2024-04-23 00:13:44 +02:00 committed by GitHub
parent c9a079201a
commit 7f1651df71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 78 additions and 1 deletions

View file

@ -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