feat(swagger): update swagger (#9872)

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:
LocalAI [bot]
2026-05-20 22:05:35 +02:00
committed by GitHub
parent 24e04d8e81
commit f6a73f54fa
3 changed files with 64 additions and 0 deletions

View File

@@ -2946,6 +2946,30 @@ const docTemplate = `{
},
"url": {
"type": "string"
},
"verification": {
"$ref": "#/definitions/config.GalleryVerification"
}
}
},
"config.GalleryVerification": {
"type": "object",
"properties": {
"identity": {
"type": "string"
},
"identity_regex": {
"type": "string"
},
"issuer": {
"type": "string"
},
"issuer_regex": {
"type": "string"
},
"not_before": {
"description": "NotBefore is an RFC3339 timestamp. Empty disables the time check.",
"type": "string"
}
}
},

View File

@@ -2943,6 +2943,30 @@
},
"url": {
"type": "string"
},
"verification": {
"$ref": "#/definitions/config.GalleryVerification"
}
}
},
"config.GalleryVerification": {
"type": "object",
"properties": {
"identity": {
"type": "string"
},
"identity_regex": {
"type": "string"
},
"issuer": {
"type": "string"
},
"issuer_regex": {
"type": "string"
},
"not_before": {
"description": "NotBefore is an RFC3339 timestamp. Empty disables the time check.",
"type": "string"
}
}
},

View File

@@ -6,6 +6,22 @@ definitions:
type: string
url:
type: string
verification:
$ref: '#/definitions/config.GalleryVerification'
type: object
config.GalleryVerification:
properties:
identity:
type: string
identity_regex:
type: string
issuer:
type: string
issuer_regex:
type: string
not_before:
description: NotBefore is an RFC3339 timestamp. Empty disables the time check.
type: string
type: object
functions.Function:
properties: