generic apiserver

This commit is contained in:
Ryan McKinley
2025-08-27 12:51:17 +03:00
parent 82312c3418
commit 704f533846
+1 -1
View File
@@ -133,7 +133,7 @@ func (u *UnstructuredSpec) SetJSONData(v any) *UnstructuredSpec {
// 1. Allows additional properties at the root
// 2. The jsonData field *may* be an raw value OR a map
func (UnstructuredSpec) OpenAPIDefinition() openapi.OpenAPIDefinition {
s := schema_pkg_apis_datasource_v0alpha1_HealthCheckResult(func(path string) spec.Ref {
s := schema_pkg_apis_datasource_v0alpha1_GenericDataSourceSpec(func(path string) spec.Ref {
return spec.MustCreateRef(path)
})
s.Schema.AdditionalProperties = &spec.SchemaOrBool{