Skip to content

Tags: nitishm/oapi-codegen

Tags

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 (oapi-codegen#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.

v1.2.3

Toggle v1.2.3's commit message
Use existing struct for additionalProperties that ref a schema (oapi-…

…codegen#36)

v1.2.2

Toggle v1.2.2's commit message
Don't create empty AdditionalProperties

When unmarshaling JSON, don't allocate the AdditionalProperties
map unless there are fields to store in it.

v1.2.1

Toggle v1.2.1's commit message
Skip client type generation for unsupported types

Don't generate client parsing code for unsupported types.

v1.2.0

Toggle v1.2.0's commit message
Refactor ClientWithResponses types

Type generation is now based off OperationDefinition and processed
schemas, so that we can do type referencing properly.

v1.1.7

Toggle v1.1.7's commit message
Returning the first line of the error (instead of the 'reason') (oapi…

…-codegen#31)

v1.1.6

Toggle v1.1.6's commit message
Improve request validation

Allow passing through openapi3filter Options and parameter
decoder, as well as passing through the echo context to inner
kin-openapi3 callbacks. This allows for implementing proper
request validation.