Skip to content

Commit 06593bc

Browse files
committed
Lint
1 parent eaf2d0d commit 06593bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cli/internal/openapi/versions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func parsePreviewExtensionData(contentTypeValue *openapi3.MediaType) (public boo
120120
return false, "", errors.New("no preview extension found")
121121
}
122122

123-
previewExtensionMap, ok := previewExtension.(map[string]interface{})
123+
previewExtensionMap, ok := previewExtension.(map[string]any)
124124
if !ok {
125125
return false, "", errors.New("no preview extension found")
126126
}

0 commit comments

Comments
 (0)