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 07e04b99c5
commit 2403cb35ec

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;