Skip to content

Commit f9be8dd

Browse files
committed
Add updated type and format to props
1 parent 6abddb1 commit f9be8dd

File tree

1 file changed

+2
-0
lines changed
  • cmd/internal/codegen/parse

1 file changed

+2
-0
lines changed

cmd/internal/codegen/parse/crd.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ func (b *APIs) parsePrimitiveValidation(t *types.Type, found sets.String, commen
224224
if err := primitiveTemplate.Execute(buff, primitiveTemplateArgs{props, n, f, s}); err != nil {
225225
log.Fatalf("%v", err)
226226
}
227+
props.Type = n
228+
props.Format = f
227229
return props, buff.String()
228230
}
229231

0 commit comments

Comments
 (0)