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

### Question Hello, I'm writing a client with an openapi.yml that frequently uses nullable ref properties, as below: ```yaml // Technique 1 my_field: nullable: true allof: - $ref: '#/components/schemas/MyField' ```...

status/triage
kind/support

A file that works in openapi generator does not work in openapi-generator. The section that causes the error is: ```yaml paths: /documents: $ref: './paths/documents.yaml#/documents' /documents/{document-ident}: $ref: './paths/documents.yaml#/documents-detail' ``` in the...

area/generator
area/openapi
kind/enhancement

### Motivation Using the OpenAPI generator loses a lot of expressivity on the server side. Once you're in generated-code-land, you lose access to the functionality you would be able to...

kind/feature
status/triage

### Motivation Migrating from writing Swift Vapor controllers directly to using Open API, I've found the latter to be substantially more cumbersome. A simple POST handler in Vapor might look...

kind/support

### Motivation Is there anyway I can throw errors without being converted to an ServerError in Vapor project? What's the easiest way to do it for every `APIProtocol` function? I...

kind/feature
status/triage

### Question I'm sure there are details I'm unaware of that impact these things, so forgive me if this has been discussed before. I have a few questions/thoughts regarding `anyOf`/`allOf`/`oneOf`:...

kind/enhancement

### Question I want to redirect to `domain2.com` from `domain1.com`. I can redirect same domain. ex: from`domain1.com/login` to `domain1.com/account`. ```yaml responses: '303': headers: location: schema: type: string ``` ```swift func...

area/generator
area/openapi
area/runtime
kind/usability

When using a schema that has a field from a reference that is both non-required and "nullable" this is a common way of defining it in OpenAPI: 3.1.0 ```yaml UpdateTaskOccurrenceCompletionResponse:...

area/generator
area/runtime
kind/enhancement

### Description Now that Linux Swift toolchains have swift-format, we can speed up our CI. Note that we can only do this for nightly Swift versions for now. ### Additional...

kind/administration
size/S

# Motivation Hi! I am the developer of the [`swift-http-error-handling`](https://swiftpackageindex.com/fumoboy007/swift-http-error-handling) package, which helps with interpreting HTTP responses and handling failures. I am looking to apply some of the concepts from...

status/needs-design
kind/feature