/* Options: Date: 2024-11-21 14:18:24 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: ApiVersionQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/version", "GET") public class ApiVersionQuery : IReturn, Codable { public typealias Return = ApiVersionQueryResponse required public init(){} } public class ApiVersionQueryResponse : Codable { /** * Timestamp when this API was built */ public var buildTime:Date /** * The revision id from which the API was built */ public var sha:String /** * Full version information regarding the current running assemblies of the api */ public var informationalVersion:String /** * The semantic version number of the current running api version, see www.semver.org for more information */ public var semVer:String public var responseStatus:ResponseStatus required public init(){} }