/* Options: Date: 2024-12-23 11:21:27 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: GetNewsRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ConsumerApi; namespace ConsumerApi { [Route("/news", "GET")] public partial class GetNewsRequest : IReturn, IGet { } public partial class GetNewsResponse { public GetNewsResponse() { News = new List{}; } public List News { get; set; } } public partial class NewsDto { public string Subject { get; set; } public string Body { get; set; } public string Author { get; set; } public DateTime CreatedAt { get; set; } } }