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

@ -41,22 +41,30 @@ class SystemConfigFFmpegDto {
List<VideoCodec> acceptedVideoCodecs;
/// Minimum value: -1
/// Maximum value: 16
int bframes;
CQMode cqMode;
/// Minimum value: 0
/// Maximum value: 51
int crf;
/// Minimum value: 0
int gopSize;
String maxBitrate;
/// Minimum value: 0
int npl;
String preferredHwDevice;
String preset;
/// Minimum value: 0
/// Maximum value: 6
int refs;
AudioCodec targetAudioCodec;
@ -67,6 +75,7 @@ class SystemConfigFFmpegDto {
bool temporalAQ;
/// Minimum value: 0
int threads;
ToneMapping tonemap;