Kindsys: Simpler PascalCase name handling (#62150)

This commit is contained in:
sam boyer
2023-01-25 20:29:10 +00:00
committed by GitHub
parent 402345ac08
commit 4a1d418157
16 changed files with 269 additions and 274 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ func (j GoTypesJenny) Generate(sfg SchemaForGen) (*codejen.File, error) {
b, err := gocode.GenerateTypesOpenAPI(sfg.Schema, &gocode.TypeConfigOpenAPI{
// TODO will need to account for sanitizing e.g. dashes here at some point
Config: &openapi.Config{
Group: sfg.IsGroup,
Group: sfg.IsGroup,
RootName: sfg.Name,
Config: &copenapi.Config{
ExpandReferences: j.ExpandReferences,
},