mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 21:16:49 +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
|
|
@ -24,8 +24,9 @@ namespace PluralKit.API
|
|||
}
|
||||
|
||||
[ApiController]
|
||||
[Route("v1/msg")]
|
||||
[ApiVersion("1.0")]
|
||||
[Route("msg")]
|
||||
[Route( "v{version:apiVersion}/msg" )]
|
||||
public class MessageController: ControllerBase
|
||||
{
|
||||
private IDataStore _data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue