3 // This file was autogenerated by openapi-gen. Do not edit it manually!
8 spec "github.com/go-openapi/spec"
9 common "k8s.io/kube-openapi/pkg/common"
12 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
13 return map[string]common.OpenAPIDefinition{
14 "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1.BareMetalHost": schema_pkg_apis_metal3_v1alpha1_BareMetalHost(ref),
18 func schema_pkg_apis_metal3_v1alpha1_BareMetalHost(ref common.ReferenceCallback) common.OpenAPIDefinition {
19 return common.OpenAPIDefinition{
21 SchemaProps: spec.SchemaProps{
22 Description: "BareMetalHost is the Schema for the baremetalhosts API",
23 Properties: map[string]spec.Schema{
25 SchemaProps: spec.SchemaProps{
26 Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
27 Type: []string{"string"},
32 SchemaProps: spec.SchemaProps{
33 Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources",
34 Type: []string{"string"},
39 SchemaProps: spec.SchemaProps{
40 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
44 SchemaProps: spec.SchemaProps{
45 Ref: ref("github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1.BareMetalHostSpec"),
49 SchemaProps: spec.SchemaProps{
50 Ref: ref("github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1.BareMetalHostStatus"),
56 Dependencies: []string{
57 "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1.BareMetalHostSpec", "github.com/metal3-io/baremetal-operator/pkg/apis/metal3/v1alpha1.BareMetalHostStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},