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