docs/reference/templates/templates.md
When generating a server or client you can specify a directory to load custom templates from
with --template-dir. It will recursively read all the .gotmpl files in the directory and
load them as templates.
Each file will be loaded and define a template named the same as the file without the suffix. If the file is in a subdirectory the directory name will be included in the template name and the first character of the next path segment will be uppercased. e.g.
You can override the following templates. Check go-swagger/generator/templates for the default definitions.
Defined in client/facade.gotmpl
Defined in client/response.gotmpl
####requires
Defined in client/client.gotmpl
Defined in server/parameter.gotmpl
####requires
Defined in server/responses.gotmpl
####requires
Defined in server/responses.gotmpl
Defined in server/parameter.gotmpl
####requires
Defined in server/parameter.gotmpl
Defined in server/builder.gotmpl