Skip to content

Commit 84ac910

Browse files
Remove duplicate check
1 parent eaa9ab9 commit 84ac910

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tools/cmd/api-generator/convert_commands.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,6 @@ func operationToCommand(now time.Time, path, verb string, operation *openapi3.Op
175175
return nil, fmt.Errorf("failed to clean description: %w", err)
176176
}
177177

178-
if overrides := extractOverrides(operation.Extensions); overrides != nil {
179-
if overriddenOperationID, ok := overrides["operationId"].(string); ok && overriddenOperationID != "" {
180-
operationID = overriddenOperationID
181-
shortOperationID = ""
182-
}
183-
}
184-
185178
if shortOperationID != "" {
186179
aliases = append(aliases, strcase.ToLowerCamel(operationID))
187180
}

0 commit comments

Comments
 (0)