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 30, 2022
1 parent 10cb6e7 commit 1c3f13d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/codegen/operations.go
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 1c3f13d

Please sign in to comment.