Skip to content

Commit 865db01

Browse files
added unit tests
1 parent cca351a commit 865db01

File tree

1 file changed

+1
-1
lines changed
  • tools/cli/internal/openapi/filter

1 file changed

+1
-1
lines changed

tools/cli/internal/openapi/filter/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ func replaceVersion(input string, v *apiversion.APIVersion) string {
4949
return input // No match found, return the original string
5050
}
5151

52-
replacement := fmt.Sprintf("application/vnd.atlas.%s+%s", v.String(), matches[5])
52+
replacement := fmt.Sprintf("application/vnd.atlas.%s+%s", v.String(), matches[6])
5353
return apiversion.ReplaceContentType(input, replacement)
5454
}

0 commit comments

Comments
 (0)