From 1702537979d81b8472f1882febd4cbc2b7f8a94e Mon Sep 17 00:00:00 2001 From: Ales Bregar Date: Sat, 16 Aug 2025 09:01:06 +0200 Subject: [PATCH] clearer REST api docs, put whitespace to docs to show that keyId strings are trimmed --- api/publish.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/publish.go b/api/publish.go index 50d11a37..54dafce5 100644 --- a/api/publish.go +++ b/api/publish.go @@ -16,8 +16,8 @@ import ( type signingParams struct { // Don't sign published repository Skip bool ` json:"Skip" example:"false"` - // GPG key ID(s) to use when signing the release, CSV if multiple keys, if not specified default configured key(s) are used - GpgKey string ` json:"GpgKey" example:"KEY_ID_a,KEY_ID_b"` + // GPG key ID(s) to use when signing the release, separated by comma, and if not specified, default configured key(s) are used + GpgKey string ` json:"GpgKey" example:"KEY_ID_a, KEY_ID_b"` // GPG keyring to use (instead of default) Keyring string ` json:"Keyring" example:"trustedkeys.gpg"` // GPG secret keyring to use (instead of default) Note: depreciated with gpg2