From f6a73f54fa25d1bf044f8eb87895c8670493369d Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Wed, 20 May 2026 22:05:35 +0200 Subject: [PATCH] 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> --- swagger/docs.go | 24 ++++++++++++++++++++++++ swagger/swagger.json | 24 ++++++++++++++++++++++++ swagger/swagger.yaml | 16 ++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/swagger/docs.go b/swagger/docs.go index 9f5a33c71..372acd2ca 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -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" } } }, diff --git a/swagger/swagger.json b/swagger/swagger.json index 50ad9b3e1..6010bce8f 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -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" } } }, diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 67b747e12..3a6485402 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -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: