swift-openapi-generator icon indicating copy to clipboard operation
swift-openapi-generator copied to clipboard

Generate Swift client and server code from an OpenAPI document.

Results 188 swift-openapi-generator issues
Sort by recently updated
recently updated
newest added

Might result in better performance as it'd avoid existentials in the transport and middlewares properties. However, we also should keep in mind the use case where the exact transport and...

kind/design
size/M

An example of a schema that today the generator produces non-compiling Swift code for, as both enum cases are named `_1`. ```yaml type: string enum: - "+1" - "-1" ```...

area/generator
kind/bug
size/S

Currently we have symbols defined in the runtime package that the generator needs to generate code for. In order to facilitate this, the generator package contains a `Constants` file where...

area/generator
kind/design
size/S

OpenAPI supports expressing quite a few different ways of encoding parameters, especially query items. The generator currently only supports the defaults, but not the other ones. Is needed to support...

area/openapi
kind/feature
size/L

Currently, when errors are thrown in a transport, we attach as much context as we have at that point (the Input value, operationId, etc). But when an error is thrown...

area/runtime
kind/enhacement
size/S

Currently, a generated server does not validate the content-type header before it tries to parse the request body contents, which means that if incorrect request body data is sent, the...

area/generator
kind/bug
size/S

Should probably be another docc article in the Contributing section. Should include how to correctly stage changes to the runtime library, optionally to transports, and at which point the generator...

area/documentation
kind/administration
size/S

The word "content" should be reserved for the `content type: media type` map. For bodies, we use the term "body".

semver/patch
area/generator
area/runtime
size/S

This already works for many types and properties, but not for all. We should ensure that all content from the OpenAPI doc generated in Swift includes a comment linking it...

semver/patch
area/generator
size/S

Currently, only `type: string` + `format: binary` is supported, and represents raw data (an octet stream). OpenAPI also supports base64-encoded data, represented as the following JSON schema: ```yaml type: string...

semver/minor
area/openapi
kind/feature
size/M