Skip to content

Tags: vishen/oapi-codegen

Tags

v1.7.0

Toggle v1.7.0's commit message
Use debug.BuildInfo to produce a version

Add a --version command, which uses build info to output a version
number, and also, embed this same version in generated code.

v1.6.2

Toggle v1.6.2's commit message
Remove accidental executable checkin

Somehow, a compiled executable snuck into git, we don't want
that.

v1.6.1

Toggle v1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix multi-line comment generate failed issue (oapi-codegen#334)

* test: expose the multi-line comment generate error

* fix: multi-line comment generation error for types

Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feature(extension): support x-omitempty (oapi-codegen#295)

Co-authored-by: Weidong Feng <weidong.feng@shanbay.com>
Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>

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 <47459980+deepmap-marcinr@users.noreply.github.com>

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.