Skip to content

Tags: Speshl/oapi-codegen

Tags

v1.3.7

Toggle v1.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: prune unused components by default (oapi-codegen#154)

* feat: prune unused components by default

* chore: rename commented code to use walkHeaderRef

* refactor: remove comment for issue in kin-openapi

* chore: add missing parameter name

Co-authored-by: John Stableford <john.stableford@digio.com.au>
Co-authored-by: John Stableford <john.stableford@latitudefinancial.com>

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.