mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-29 03:24:49 -04:00
feat(swagger): update swagger (#9518)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
@@ -3442,6 +3442,7 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"is_real": {
|
||||
"description": "Liveness fields — see FaceVerifyResponse for why these are pointers.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"race": {
|
||||
@@ -3656,12 +3657,25 @@ const docTemplate = `{
|
||||
"distance": {
|
||||
"type": "number"
|
||||
},
|
||||
"img1_antispoof_score": {
|
||||
"type": "number"
|
||||
},
|
||||
"img1_area": {
|
||||
"$ref": "#/definitions/schema.FacialArea"
|
||||
},
|
||||
"img1_is_real": {
|
||||
"description": "Liveness fields are only populated when the request set\nanti_spoofing=true. Pointers keep them fully absent from the\nJSON response otherwise, so callers can tell \"not checked\"\napart from \"checked and fake\" (which would collapse to zero\nvalues with plain bool+omitempty).",
|
||||
"type": "boolean"
|
||||
},
|
||||
"img2_antispoof_score": {
|
||||
"type": "number"
|
||||
},
|
||||
"img2_area": {
|
||||
"$ref": "#/definitions/schema.FacialArea"
|
||||
},
|
||||
"img2_is_real": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"model": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -3439,6 +3439,7 @@
|
||||
}
|
||||
},
|
||||
"is_real": {
|
||||
"description": "Liveness fields — see FaceVerifyResponse for why these are pointers.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"race": {
|
||||
@@ -3653,12 +3654,25 @@
|
||||
"distance": {
|
||||
"type": "number"
|
||||
},
|
||||
"img1_antispoof_score": {
|
||||
"type": "number"
|
||||
},
|
||||
"img1_area": {
|
||||
"$ref": "#/definitions/schema.FacialArea"
|
||||
},
|
||||
"img1_is_real": {
|
||||
"description": "Liveness fields are only populated when the request set\nanti_spoofing=true. Pointers keep them fully absent from the\nJSON response otherwise, so callers can tell \"not checked\"\napart from \"checked and fake\" (which would collapse to zero\nvalues with plain bool+omitempty).",
|
||||
"type": "boolean"
|
||||
},
|
||||
"img2_antispoof_score": {
|
||||
"type": "number"
|
||||
},
|
||||
"img2_area": {
|
||||
"$ref": "#/definitions/schema.FacialArea"
|
||||
},
|
||||
"img2_is_real": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"model": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -640,6 +640,7 @@ definitions:
|
||||
type: number
|
||||
type: object
|
||||
is_real:
|
||||
description: Liveness fields — see FaceVerifyResponse for why these are pointers.
|
||||
type: boolean
|
||||
race:
|
||||
additionalProperties:
|
||||
@@ -780,10 +781,24 @@ definitions:
|
||||
type: number
|
||||
distance:
|
||||
type: number
|
||||
img1_antispoof_score:
|
||||
type: number
|
||||
img1_area:
|
||||
$ref: '#/definitions/schema.FacialArea'
|
||||
img1_is_real:
|
||||
description: |-
|
||||
Liveness fields are only populated when the request set
|
||||
anti_spoofing=true. Pointers keep them fully absent from the
|
||||
JSON response otherwise, so callers can tell "not checked"
|
||||
apart from "checked and fake" (which would collapse to zero
|
||||
values with plain bool+omitempty).
|
||||
type: boolean
|
||||
img2_antispoof_score:
|
||||
type: number
|
||||
img2_area:
|
||||
$ref: '#/definitions/schema.FacialArea'
|
||||
img2_is_real:
|
||||
type: boolean
|
||||
model:
|
||||
type: string
|
||||
processing_time_ms:
|
||||
|
||||
Reference in New Issue
Block a user