fix: duplicate openapi operation id for public access (#2087)

ui/offscreen-diff-contents
Atefeh Mohseni Ejiyeh 2024-06-10 16:48:47 +00:00 committed by Harness
parent 26760cdbd2
commit 7899ebd3a3
1 changed files with 1 additions and 1 deletions

View File

@ -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)