Swagger working but with removed api versioning system and a lot of other shit removed during diagnosis. Revert to this commit to go that route.
This commit is contained in:
@@ -10,6 +10,7 @@ using System;
|
||||
using System.Threading.Tasks;
|
||||
using App.Metrics;
|
||||
using AyaNova.Biz;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
//required to inject configuration in constructor
|
||||
using Microsoft.Extensions.Configuration;
|
||||
@@ -19,9 +20,10 @@ namespace AyaNova.Api.Controllers
|
||||
/// <summary>
|
||||
/// Authentication controller
|
||||
/// </summary>
|
||||
[ApiVersion("8.0")]
|
||||
[Route("api/v{version:apiVersion}/[controller]")]
|
||||
//SWASHBUCKLETEST [ApiVersion("8.0")]
|
||||
[Route("api/v8/[controller]")]//was [Route("api/v{version:apiVersion}/[controller]")]
|
||||
[Produces("application/json")]
|
||||
[AllowAnonymous]
|
||||
public class AuthController : Controller
|
||||
{
|
||||
private readonly AyContext ct;
|
||||
|
||||
Reference in New Issue
Block a user