oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

Generate Go client and server boilerplate from OpenAPI 3 specifications

Results 633 oapi-codegen issues
Sort by recently updated
recently updated
newest added

The goal of this PR is to add the option to use "user provided" templates without depending on a specific framework, by using the new option `custom-server`. Objectives: - when...

If an API handles multiple types of request body format, or returns multiple response body formats, it is likely to be performing [server-driven content-type negotation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation#server-driven_content_negotiation). For example: https://github.com/deepmap/oapi-codegen/blob/fec990c8f823a7f5db876a133c087338afc0a9ce/internal/test/client/client.yaml#L70-L82 The proposed...

When `operationId` that starts with digit is set explicitly, I can't get correct go code. To avoid trouble, we can overwrite the `operationId` with other word but 3GPP's specification have...

This PR fixes a bug in not properly propagating external references when merging schemas of `allOf`. If `oneOf` is used with a type with external reference that itself has a...

Adds automated release creation (including binaries) on tag push using github action and goreleaser. **NOTE:** You would need to add your `PERSONAL_GITHUB_TOKEN` as a new Repository Secret (Settings > Secrets...

Fixes https://github.com/deepmap/oapi-codegen/issues/748 Inspired by https://github.com/deepmap/oapi-codegen/pull/865 Encode the `.union` property when dealing with a `.union` type.

Specs with circular references that used to be parsed and generated correctly using version `1.11.0` fail parsing when using version `1.12.x` with error `kin-openapi bug found: circular schema reference not...

- Add Dockerfile - Add GitHub workflow running on `release published` event

🧠 needs more thinking

Hi! I've been refactoring my openapi file to reuse schemas, parameters and responses. However, I can't generate the golang code anymore. Here are the steps to reproduce: My ```openapi.yaml``` looks...

This might be able to help with handling `additionalProperties` arbitrary maps as described in #930.