swift-openapi-generator
swift-openapi-generator copied to clipboard
Generate Swift client and server code from an OpenAPI document.
### Question Hello, I'm currently trying to implement a HEAD endpoint, using the Swift OpenAPI generator & runtime. I'm using the following snippet, but I'm aware that it's far from...
### Motivation The generator changes for: [apple/swift-openapi-generator](https://github.com/apple/swift-openapi-generator/issues/259) Depends on https://github.com/apple/swift-openapi-runtime/pull/100 landing first and getting released, and the version dependency being bumped here. ### Modifications Added `deepObject` style to serializer &...
### Question I'm using your package to generate my APIs which has been working great for me. However, as soon as I started working with uploading files, I stumbled upon...
### Question I'd like to add telemetry to my app to report issues where an API response is missing a required key or otherwise has decoding errors. Ideally I could...
### Motivation These keywords are defined in the JSON Schema 2020-12 dialect. Release notes: https://json-schema.org/draft/2020-12/release-notes These are useful for representing generics: https://json-schema.org/blog/posts/dynamicref-and-generics Specification of dynamic scope rules: https://json-schema.org/draft/2020-12/json-schema-core#name-lexical-scope-and-dynamic-s ### Proposed...
Support deepObject style for query params. Used by the Stripe API, for example.
### Question I'm currently developing an API that makes use of OAuth2 Password Flows and need to be able to authenticate to use it. Currently, there is no OAuth2 specific...
### Motivation A common pattern in OpenAPI schemas I have seen uses `oneOf` with references like the following: ``` oneOf: - $ref: '#/components/schemas/Thing' - type: 'null' ``` Prior to this...
### Motivation OpenAPIKit's handling of `type: 'null'` was problematic with older Yams versions. See https://github.com/mattpolzin/OpenAPIKit/pull/366/files for a test demonstrating that & dependency version bump. Similarly, swift-openapi-generator explicitly does not "support"...
### Description If in YAML I specify null type with quotes generator omits the property. But if I specify null as a type without quotes everything works well ### Reproduction...