feat: add a basic controller for API version 1

This commit is contained in:
Polianin Nikita 2024-01-28 04:34:56 +03:00
parent fb6ca5df77
commit 8852351ca6

View File

@ -0,0 +1,8 @@
using Microsoft.AspNetCore.Mvc;
namespace Mirea.Api.Endpoint.Controllers.V1;
[ApiVersion("1.0")]
[Produces("application/json")]
[Route("api/v{version:apiVersion}/[controller]/[action]")]
public class BaseControllerV1 : BaseController;