mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Integrate ApiVersioning library for ASP.NET
This commit is contained in:
parent
db1ebd0a1d
commit
c4c3eaf954
6 changed files with 16 additions and 5 deletions
|
|
@ -9,8 +9,9 @@ using PluralKit.Core;
|
|||
namespace PluralKit.API
|
||||
{
|
||||
[ApiController]
|
||||
[ApiVersion("1.0")]
|
||||
[Route("m")]
|
||||
[Route("v1/m")]
|
||||
[Route( "v{version:apiVersion}/m" )]
|
||||
public class MemberController: ControllerBase
|
||||
{
|
||||
private IDataStore _data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue