Skip to content

Commit

Permalink
Fix applyconfiguration (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gchbg authored Apr 11, 2024
1 parent 2982657 commit 7707313
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 8 additions & 0 deletions api/ipam/v1alpha1/ipaddr_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,11 @@ func (in *IPAddr) DeepCopyInto(out *IPAddr) {
out.Net = in.Net
}
}

// OpenAPISchemaType is used by the kube-openapi generator when constructing
// the OpenAPI spec of this type.
func (_ IPAddr) OpenAPISchemaType() []string { return []string{"string"} }

// OpenAPISchemaFormat is used by the kube-openapi generator when constructing
// the OpenAPI spec of this type.
func (_ IPAddr) OpenAPISchemaFormat() string { return "" }
12 changes: 1 addition & 11 deletions clientgo/applyconfiguration/internal/internal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion clientgo/openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7707313

Please sign in to comment.