Update OpenAPI and fix openAPI tests to handle unexported jsonreferences

Co-authored-by: Alexander Zielensk <alexzielenski@gmail.com>

Kubernetes-commit: 700e3b566428bca46d2d37514c8fd7af60c7ff34
This commit is contained in:
Joe Betz
2024-10-25 13:51:03 -04:00
committed by Kubernetes Publisher
parent 5295d256f6
commit b5002f17ec
4 changed files with 26 additions and 0 deletions

View File

@@ -94,3 +94,8 @@ func (f *fileGroupVersion) Schema(contentType string) ([]byte, error) {
}
return fs.ReadFile(f.f, f.filename)
}
// ServerRelativeURL returns an empty string.
func (f *fileGroupVersion) ServerRelativeURL() string {
return f.filename
}