Skip to content

Tags: Climbinb/oapi-codegen

Tags

v1.3.5

Toggle v1.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add support for user-provided templates (oapi-codegen#136)

* Add support for user-provided templates

This change introduces a new `-templates` command flag to enable users
to override code generation templates at runtime instead of having to
recompile the binary after having edited the built-in templates.

* fixup! Add support for user-provided templates

v1.3.4

Toggle v1.3.4's commit message
emove special characters for go names (oapi-codegen#107)

avoid index out of bounds
Fix case of ParsegetTestByNameResponse to be ParseGetTestByNameResponse
Fix &interface{}{} to be var temp interface{}\n&temp
Correctly handle Unicode

Signed-off-by: Steve Coffman <steve@khanacademy.org>

v1.3.3

Toggle v1.3.3's commit message
Regenerate code

Regenerate everything after pushing some template changes.

v1.3.2

Toggle v1.3.2's commit message
Regenerate files

I forgot to regenerate after some template white space changes.