lately I've been using magiconion with memorypack,
I've created a generic service base that derives from ServiceBase
public class MagicBase<TService, TModel> : MagicBase<TService, TModel>
where TService : IGenericService<TService, TModel>, IService<TService>
where TModel : class
{
public MagicBase(IServiceProvider provider) : base(provider)
{
}
//Generic methods reside here..
}
this works in terms of functionality however due to the nature of memory pack some of my models are marked as abstract to use memorypack union. I've noticed that when I create endpoints with an abstract class as TModel Swagger does not work.
Therefore I kindly ask for an attribute to decorade our endpoints such as
lately I've been using magiconion with memorypack,
I've created a generic service base that derives from ServiceBase
this works in terms of functionality however due to the nature of memory pack some of my models are marked as abstract to use memorypack union. I've noticed that when I create endpoints with an abstract class as TModel Swagger does not work.
Therefore I kindly ask for an attribute to decorade our endpoints such as
to exclude endpoint from swagger