/* Options: Date: 2025-05-06 22:22:01 SwiftVersion: 6.0 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://unstable-consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: GetNewsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/news", "GET") public class GetNewsRequest : IReturn, IGet, Codable { public typealias Return = GetNewsResponse required public init(){} } public class GetNewsResponse : Codable { public var news:[NewsDto] = [] required public init(){} } public class NewsDto : Codable { public var subject:String? public var body:String? public var author:String? public var createdAt:Date? required public init(){} }