From 7899ebd3a341d85e3c6ac7acd25dc1ea352a6150 Mon Sep 17 00:00:00 2001 From: Atefeh Mohseni Ejiyeh Date: Mon, 10 Jun 2024 16:48:47 +0000 Subject: [PATCH] fix: duplicate openapi operation id for public access (#2087) --- app/api/openapi/space.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/openapi/space.go b/app/api/openapi/space.go index e16aa852c..c3bba5e1c 100644 --- a/app/api/openapi/space.go +++ b/app/api/openapi/space.go @@ -254,7 +254,7 @@ func spaceOperations(reflector *openapi3.Reflector) { opUpdatePublicAccess := openapi3.Operation{} opUpdatePublicAccess.WithTags("space") opUpdatePublicAccess.WithMapOfAnything( - map[string]interface{}{"operationId": "updatePublicAccess"}) + map[string]interface{}{"operationId": "updateSpacePublicAccess"}) _ = reflector.SetRequest( &opUpdatePublicAccess, new(updateSpacePublicAccessRequest), http.MethodPost) _ = reflector.SetJSONResponse(&opUpdatePublicAccess, new(space.SpaceOutput), http.StatusOK)