Skip to content

Commit

Permalink
fix: add temp support for TypeMeta in openapi generator
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <[email protected]>
  • Loading branch information
manusa authored Jul 10, 2024
1 parent ef755d9 commit 4f96148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes-model-generator/openapi/generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func main() {
reflect.TypeOf(coreV1.PodExecOptions{}),
reflect.TypeOf(metaV1.RootPaths{}),
reflect.TypeOf(metaV1.GroupKind{}),
reflect.TypeOf(metaV1.TypeMeta{}), // TODO: can be removed, it's an inline type not directly used
}, "api-machinery-extra"},
{[]reflect.Type{
reflect.TypeOf(admissionV1.AdmissionRequest{}),
Expand Down

0 comments on commit 4f96148

Please sign in to comment.