/* Options: Date: 2024-11-21 22:34:38 SwiftVersion: 5.0 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: EvalExpression.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/expression/eval") public class EvalExpression : IReturn, Codable { public typealias Return = EvalExpressionResponse public var expression:String required public init(){} } public class EvalExpressionResponse : Codable { //result:Object ignored. Type could not be extended in Swift public var tree:String public var responseStatus:ResponseStatus required public init(){} }