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: