Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: missing parts for strict server (#9)
* fix: add the missing strict server generation
  • Loading branch information
jinuthankachan authored Mar 3, 2026
commit 23e1bba8236298cafbfd473f0944f6a47693d817
12 changes: 3 additions & 9 deletions configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@
"description": "DisableTypeAliasesForType allows defining which OpenAPI `type`s will explicitly not use type aliases",
"items": {
"type": "string",
"enum": [
"array"
]
"enum": ["array"]
}
},
"name-normalizer": {
Expand All @@ -230,9 +228,7 @@
"default": true
}
},
"required": [
"path"
]
"required": ["path"]
},
"yaml-tags": {
"type": "boolean",
Expand Down Expand Up @@ -303,9 +299,7 @@
"type": "string"
}
},
"required": [
"package"
]
"required": ["package"]
},
"description": "AdditionalImports defines any additional Go imports to add to the generated code"
},
Expand Down
3 changes: 3 additions & 0 deletions pkg/codegen/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,9 @@ func GenerateStrictServer(t *template.Template, operations []OperationDefinition
if opts.Generate.IrisServer {
templates = append(templates, "strict/strict-iris-interface.tmpl", "strict/strict-iris.tmpl")
}
if opts.Generate.Echo5Server {
templates = append(templates, "strict/strict-interface.tmpl", "strict/strict-echo5.tmpl")
}

return GenerateTemplates(templates, t, operations)
}
Expand Down