We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83fd1fd commit 9e7db9cCopy full SHA for 9e7db9c
tools/cli/internal/apiversion/version.go
@@ -357,7 +357,7 @@ func parsePreviewExtensionData(contentTypeValue *openapi3.MediaType) (public boo
357
return public, name, nil
358
}
359
360
-func validatePreviewExtensionData(name string, public string) error {
+func validatePreviewExtensionData(name, public string) error {
361
if name != "" && (public == "true") {
362
return errors.New("both name and public = true fields are set, only one is allowed")
363
0 commit comments