/* Options: Date: 2025-06-27 20:28:07 SwiftVersion: 6.0 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: EchoComplexTypes.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/echo/complex") public class EchoComplexTypes : IReturn, Codable { public typealias Return = EchoComplexTypes public var subType:SubType? public var subTypes:[SubType]? public var subTypeMap:[String:SubType]? public var stringMap:[String:String]? public var intStringMap:[Int:String]? required public init(){} } public class SubType : Codable { public var id:Int? public var name:String? required public init(){} }