From ff70fa13691b33263d91fd29a0bc18aad7a24110 Mon Sep 17 00:00:00 2001 From: "Frederick [Bot]" Date: Wed, 4 Mar 2026 19:40:40 +0000 Subject: [PATCH] [skip ci] Updated swagger docs --- pkg/swagger/docs.go | 2 +- pkg/swagger/swagger.json | 2 +- pkg/swagger/swagger.yaml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 0684652a9..b730cea33 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -7576,7 +7576,7 @@ const docTemplate = `{ "JWTKeyAuth": [] } ], - "description": "Search for a user by its username, name or full email. Name (not username) or email require that the user has enabled this in their settings.", + "description": "Search for a user by its username, name or full email. Name (not username) or email require that the user has enabled this in their settings, unless both users share an external team (synced via OIDC/LDAP), in which case they can always find each other.", "consumes": [ "application/json" ], diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 63120a3d5..9fc6cabcc 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -7568,7 +7568,7 @@ "JWTKeyAuth": [] } ], - "description": "Search for a user by its username, name or full email. Name (not username) or email require that the user has enabled this in their settings.", + "description": "Search for a user by its username, name or full email. Name (not username) or email require that the user has enabled this in their settings, unless both users share an external team (synced via OIDC/LDAP), in which case they can always find each other.", "consumes": [ "application/json" ], diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index aa7662d89..111ff6b8c 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -6718,7 +6718,9 @@ paths: consumes: - application/json description: Search for a user by its username, name or full email. Name (not - username) or email require that the user has enabled this in their settings. + username) or email require that the user has enabled this in their settings, + unless both users share an external team (synced via OIDC/LDAP), in which + case they can always find each other. parameters: - description: The search criteria. in: query