- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestBuildOpenAPIV2 (0.15 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder_test.go
func schemaDiff(a, b *spec.Schema) string { // This option construct allows diffing all fields, even unexported ones. return cmp.Diff(a, b, cmp.Exporter(func(reflect.Type) bool { return true })) } func TestBuildOpenAPIV2(t *testing.T) { tests := []struct { name string schema string preserveUnknownFields *bool wantedSchema string opts Options
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 26.2K bytes - Viewed (0)