/* Options: Date: 2025-12-06 06:22:04 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://1fetch.api.client.prod.86degrees.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: Test.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/test", "GET") public class Test : IReturn, Codable { public typealias Return = TestResponse /** * An email address a test email will be sent to */ // @ApiMember(Description="An email address a test email will be sent to") public var smtp:String required public init(){} } public class TestResponse : Codable { public var environment:String public var tests:[String:TestResult] = [:] public var wasSuccessful:Bool public var db:String public var debugMode:Bool public var serverGC:Bool required public init(){} } public class TestResult : Codable { public var wasSuccessful:Bool public var Description:String required public init(){} }