ardalis / ApiEndpoints

A project for supporting API Endpoints in ASP.NET Core web applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add consumes/ produces attribute

aminparsa18 opened this issue · comments

Is it possible to have a base endpoint class with custom attributes like:

[Produces("application/x-msgpack")]
[Consumes("application/x-msgpack")]
public class CustomEndpointBase : EndpointBaseAsync
{
}