From aa1ba6ef5c5a5b900e614b065f4aec302492bf63 Mon Sep 17 00:00:00 2001 From: CoreyEWood Date: Wed, 4 Dec 2024 17:14:35 -0800 Subject: [PATCH] update spec file --- spec/public-api.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/spec/public-api.yaml b/spec/public-api.yaml index b227293d..bf1cf58b 100644 --- a/spec/public-api.yaml +++ b/spec/public-api.yaml @@ -347,6 +347,12 @@ paths: --data-binary @path/to/filename.jpeg ``` parameters: + - in: query + name: confidence_threshold + schema: + type: number + format: float + description: The confidence threshold for the image query. - in: query name: detector_id schema: @@ -1367,8 +1373,7 @@ components: - ALGORITHM count: type: integer - minimum: null - maximum: null + minimum: 0 greater_than_max: type: boolean required: @@ -1400,7 +1405,6 @@ components: type: integer minimum: 1 maximum: 50 - required: [] MultiClassModeConfiguration: type: object properties: @@ -1410,8 +1414,6 @@ components: type: string num_classes: type: integer - minimum: null - maximum: null required: - class_names ChannelEnum: