mirror of
https://github.com/immich-app/immich.git
synced 2025-07-19 22:44:24 +02: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
mobile/openapi/lib/model
5
mobile/openapi/lib/model/recognition_config.dart
generated
5
mobile/openapi/lib/model/recognition_config.dart
generated
|
@ -23,10 +23,15 @@ class RecognitionConfig {
|
|||
|
||||
bool enabled;
|
||||
|
||||
/// Minimum value: 0
|
||||
/// Maximum value: 2
|
||||
double maxDistance;
|
||||
|
||||
/// Minimum value: 1
|
||||
int minFaces;
|
||||
|
||||
/// Minimum value: 0
|
||||
/// Maximum value: 1
|
||||
double minScore;
|
||||
|
||||
String modelName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue