OpenAPI/Swagger 3.0 Parser and Swift code generator
modelType
option to Swift template for class or struct models #94modelInheritance
template option #94modelNames
and enumNames
template options for overriding names #95x-enum-name
property to Swagger for custom enum names #98summary
to generation and templateAPIError
to APIClientError
APIClient.authorizer
RequestBehavour.validate
(replaces APIClient.authorizer
)APIClient.makeRequest
now returns a CancellableRequest
instead of Alamofire.Request
APIClient.jsonDecoder
property which is used for json requestsqueue
to completionQueue
in APIClient.makeRequest
APIError. authorizationError
with APIClientError. validationError
APIService.authorization
to APIService.securityRequirement
ID
: The UUID
format. Usually UUID
or String
File
: The file
format. Usually URL
, Data
or a custom type with a mimeType and fileNameProtocol
in swift templatesdate
and date-time
formats into DateDay
and DateTime
structs #74 #77modelPrefix
and modelSuffix
options #75safeOptionalDecoding
not working on optional Arraysdate-time
not decoding in some cases #77Codable
support to models #61Equatable
support to models #63mutableModels
option #64safeArrayDecoding
option #71safeOptionalDecoding
option #71language
argument which defaults to swift
for now #65--silent
flag #68--verbose
flag #68--version
flag #68swaggen
(breaking on linux) #68swaggen generate
#68--spec
has changed to a required parameter: swaggen generate path_to_spec
#68init(jsonDictionary: JSONDictionary)
or encode() -> JSONDictionary
functions #61JSONUtilities
dependency #61