Skip to content

Tags: sonvt1710/oapi-codegen

Tags

v1.3.6

Toggle v1.3.6's commit message
Fix parsing of empty date

This fixes oapi-codegen#140

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.

v1.3.1

Toggle v1.3.1's commit message
Remove runtime dependency for router interface

Removed the dependency on the runtime package for the
router interface, and updated deps.

v1.3.0

Toggle v1.3.0's commit message
Some small Chi related tweaks

Update the README to mention Chi.

Error out if trying to generate Chi and Echo code simultaneously, as
they conflict.

v1.2.6

Toggle v1.2.6's commit message
Clean up security scopes a little bit

Remove unnecessary conditional in templates.

v1.2.5

Toggle v1.2.5's commit message
Fix oapi-codegen#40: Canonical header keys

Use the http.CanonicalHeaderKey function to normalize HTTP parameter
names.

v1.2.4

Toggle v1.2.4's commit message
Added a NewClientWithResponsesAndRequestEditorFunc function and updat…

…ed the RequestEditor to use a type (#38)

* Added a type definition for the RequestEditor function for easy reuse

Added a new NewClientWithResponsesAndRequestEditorFunc function to be
able to pass a custom callback function during the client creation.