I use a standard set of templates, changes are made in api-header.mustache and api-source.mustache. Their _old versions contain the originals. Additions are necessary for the header argument in the generated functions so that you can authenticate using cookies. |
||
|---|---|---|
| .. | ||
| _build | ||
| parameters | ||
| paths | ||
| schemas | ||
| securitySchemes | ||
| .gitignore | ||
| api.gen.go | ||
| oapi-codegen.yaml | ||
| openapi.yaml | ||