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
15 changed files with 78 additions and 1 deletions

View File

@@ -192,6 +192,7 @@ class SmartSearchDto {
///
String? model;
/// Minimum value: 1
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated
@@ -204,6 +205,8 @@ class SmartSearchDto {
String query;
/// Minimum value: 1
/// Maximum value: 1000
///
/// Please note: This property should have been non-nullable! Since the specification file
/// does not include a default value (using the "default:" property), however, the generated