Skip to content

Commit

Permalink
Lint: Remove self-assignment
Browse files Browse the repository at this point in the history
Picked up go `govet`.
  • Loading branch information
Jamie Tanna committed Oct 25, 2022
1 parent 69e1de4 commit 17280e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/codegen/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ func OperationDefinitions(swagger *openapi3.T) ([]OperationDefinition, error) {
return nil, fmt.Errorf("error generating default OperationID for %s/%s: %s",
opName, requestPath, err)
}
op.OperationID = op.OperationID
} else {
op.OperationID = ToCamelCase(op.OperationID)
}
Expand Down

0 comments on commit 17280e5

Please sign in to comment.