🔒 fix: correct Swagger auth scheme from ApiKeyAuth to BearerAuth
Some checks failed
CI/CD Pipeline / CI Pipeline (push) Failing after 54s
CI/CD Pipeline / CI Pipeline (pull_request) Successful in 7m15s

This commit is contained in:
2026-04-07 01:27:50 +02:00
parent 107bae528a
commit 7154faa7f4
3 changed files with 4 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ type greetResponse struct {
// @Param request body GreetRequest true "Greeting request"
// @Success 200 {object} GreetResponseV2 "Successful response"
// @Failure 400 {object} ValidationError "Validation error"
// @Security ApiKeyAuth
// @Security BearerAuth
// @Router /v2/greet [post]
func (h *apiV2GreetHandler) handleGreetPost(w http.ResponseWriter, r *http.Request) {
// Read request body