feat: add a basic controller for API version 1
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m17s

This commit is contained in:
Polianin Nikita 2024-01-28 04:34:56 +03:00
parent 7b584b2dc5
commit 335298fd91

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;