From 8b3210cae713e4a1491438a3501b97ca11b06bcd Mon Sep 17 00:00:00 2001 From: mudler <2420543+mudler@users.noreply.github.com> Date: Tue, 19 May 2026 20:32:39 +0000 Subject: [PATCH] feat(swagger): update swagger Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@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 9f5a33c71920..372acd2ca33b 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 50ad9b3e1f34..6010bce8fb62 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 67b747e126e4..3a64854020b6 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: