feat: add a basic controller for API version 1
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m17s
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m17s
This commit is contained in:
parent
7b584b2dc5
commit
335298fd91
8
Endpoint/Controllers/V1/BaseControllerV1.cs
Normal file
8
Endpoint/Controllers/V1/BaseControllerV1.cs
Normal 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;
|
Loading…
Reference in New Issue
Block a user