mirror of
https://github.com/harness/drone.git
synced 2025-05-04 02:51:04 +08:00
fix: duplicate openapi operation id for public access (#2087)
This commit is contained in:
parent
26760cdbd2
commit
7899ebd3a3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user