mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 15:51:38 +00:00
* [swift5] introduce new generator * [swift5] add Swift Package Manager integration and update dependencies * [swift5] run petstore * [swift] update Swift 5 generator with Swift 4 changes * [swift] update Swift 5 generator with Swift 4 changes * [swift] make CodableHelper more customizable * [swift] update pet projects * [swift] update pet projects * [swift] add nullable support * [swift] make enums conform to CaseIterable * [swift] date formatter add support for ISO8601 with and without milliseconds * [swift] add urlsession support * [swift] remove unecessary sample unwrapRequired * [swift] rename JSONEncodableEncoding.swift to JSONDataEncoding.swift * [swift] use result in generator internals * [swift] cocoapods remove deprecated docset_url and add watchos deployment target * [swift] Add ability to pass in a dedicated queue for processing network response (Fix for 230) * [swift] update pet projects * [swift] update docs * [swift] add support for combine * [swift] update docs * [swift] update windows bat scripts * [swift] update windows bat scripts * [swift] update swift pet project tests * [swift] update depencies * [swift] make urlsession the default http client * [swift] add urlsession sample project * [swift] add urlsession sample project * [swift] update docs * [swift] improve combine unit tests * [swift] update docs
2.2 KiB
2.2 KiB
title, sidebar_label
| title | sidebar_label |
|---|---|
| Config Options for swift5 | swift5 |
| Option | Description | Values | Default |
|---|---|---|---|
| sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | true | |
| sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | true | |
| ensureUniqueParams | Whether to ensure parameter names are unique in an operation (rename parameters that are not). | true | |
| allowUnicodeIdentifiers | boolean, toggles whether unicode identifiers are allowed in names or not, default is false | false | |
| prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. | false | |
| projectName | Project name in Xcode | null | |
| responseAs | Optionally use libraries to manage response. Currently PromiseKit, RxSwift, Result, Combine are available. | null | |
| nonPublicApi | Generates code with reduced access modifiers; allows embedding elsewhere without exposing non-public API calls to consumers.(default: false) | null | |
| sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | null | |
| objcCompatible | Add additional properties and methods for Objective-C compatibility (default: false) | null | |
| podSource | Source information used for Podspec | null | |
| podVersion | Version used for Podspec | null | |
| podAuthors | Authors used for Podspec | null | |
| podSocialMediaURL | Social Media URL used for Podspec | null | |
| podLicense | License used for Podspec | null | |
| podHomepage | Homepage used for Podspec | null | |
| podSummary | Summary used for Podspec | null | |
| podDescription | Description used for Podspec | null | |
| podScreenshots | Screenshots used for Podspec | null | |
| podDocumentationURL | Documentation URL used for Podspec | null | |
| swiftUseApiNamespace | Flag to make all the API classes inner-class of {{projectName}}API | null | |
| hideGenerationTimestamp | Hides the generation timestamp when files are generated. | true | |
| lenientTypeCast | Accept and cast values for simple types (string->bool, string->int, int->string) | false | |
| library | Library template (sub-template) to use |
|
urlsession |