/* Options: Date: 2024-12-22 13:14:21 SwiftVersion: 6.0 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: DeletePost.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/posts/{Id}", "DELETE") public class DeletePost : IReturn, IDelete, Codable { public typealias Return = DeletePostResponse public var id:Int? required public init(){} } public class DeletePostResponse : Codable { public var id:Int? public var responseStatus:ResponseStatus? required public init(){} }