Skip to content

Tags: szank/oapi-codegen

Tags

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 (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.