oapi-codegen
oapi-codegen copied to clipboard
Generate Go client and server boilerplate from OpenAPI 3 specifications
OpenAPI 3.1 is great, brings full JSON Schema compatibility. It would be great if generator would support it.
For handlers that generate links to other resources, it would be useful to be able to call a function that generates a URL for an operation. The current `NewOperationRequest` type...
The generated code and the code of the project itself causes a lot of warnings in the GoLand IDE and when checking with [golint](https://github.com/golang/lint). How about bringing code into line...
Summary: After the second day of implementation and reading the source code, I'm more confident in this solution. The tests provide additional evidence but we might need to tweak somemore...
The new strict server looks amazing, but using an interface{} for the return type is not ideal. While its not the best as it would not provide an easy way...
The additional properties flattening introduced in [this commit](https://github.com/deepmap/oapi-codegen/commit/6e84edc0ac19e5ecfd21e57cbacca5dba6428224) breaks query parameters that are unexploded. Take the following example parameter schema: ```yaml in: query name: example description: | Example parameter explode:...
Summary: the response object in a the generated client code does not honor the $ref of the of response, if the $ref is referring to content in a different spec...
Using the latest version (v1.11.1-0.20220727161132-874b0a16ac55) I have a schema like ```yaml x: allOf: - $ref: '#/components/schemas/y-base' properties: a: .... b: $ref: '#/components/schemas/b' type: object ``` I get code like: ```go...
Schemas, Operations, support Swagger extensions. Rather than inferring Go type names from those properties, we can also allow specifying them. Adding support for an extension like `x-go-typename` on those would...
~~If I have an openApi schema that has additionalProperties: false, and I send a request with extra fields, it should be refused.~~. After more research, I found out this is...