Skip to content

Tags: bakins/oapi-codegen

Tags

v1.5.6

Toggle v1.5.6's commit message
Clean up parameter escaping

This fixes oapi-codegen#302. We were really sloppy with escaping and unescaping
parameters, so I added another parameter to Bind/StyleParam which
informs where the parameter is located, so that we can do proper
escaping based on location. The server code performs corresponding
unescaping.

v1.5.5

Toggle v1.5.5's commit message
Fix ordering of security requirements

This fixes oapi-codegen#316. Maps are randomized, so sort the keys.

v1.5.4

Toggle v1.5.4's commit message
Fix query arg escaping and unescaping

This fixes oapi-codegen#312, by ensuring that queries are properly escaped in
the client, and properly unescaped in the server.

v1.5.3

Toggle v1.5.3's commit message
Revert "Fix client request url construction when colon in path (oapi-…

…codegen#313)"

This reverts commit 720dae1. It broke
path handling in a different way. We will fix this differently.

v1.5.2

Toggle v1.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix request editors not updating the original request (oapi-codegen#1) (

oapi-codegen#306)

Co-authored-by: Marcin Romaszewicz <[email protected]>

v1.5.1

Toggle v1.5.1's commit message
Fix security scheme naming issue

PR 258 broke generated code when the security scheme is an invalid
Go identifier. Sanitize the name as a quick fix.

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Allow multiple RequestEditorFns in Client and Request Methods (oapi-c…

…odegen#228)

* Allow multiple RequestEditorFns and custom ones

* Re-generate templates

* Fix tests

* Update README

v1.4.2

Toggle v1.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Mark embedded structs for inlining in yaml. (oapi-codegen#261)

v1.4.1

Toggle v1.4.1's commit message
Fix time/date and deepObject binding issues

This fixes oapi-codegen#247. DeepObject had various bugs in binding to
time and dates, and we explicitly need to handle aliases
via reflection instead of type converting to time.Time and
types.Date

Added a pile of tests for these cases.

v1.4.0

Toggle v1.4.0's commit message
Fix errors imports.

We like "github.com/pkg/errors"