Ok, everything seems to be working except for the api explorer so now can turn back to that. (api explorer issues are caused by the api versioning system as removing it fixes the missing api explorer routes
This commit is contained in:
@@ -22,8 +22,8 @@ namespace AyaNova.Api.Controllers
|
||||
/// <summary>
|
||||
/// Sample controller class used during development for testing purposes
|
||||
/// </summary>
|
||||
//SWASHBUCKLETEST [ApiVersion("8.0")]
|
||||
[Route("api/v8/[controller]")]//was [Route("api/v{version:apiVersion}/[controller]")]
|
||||
[ApiVersion("8.0")]
|
||||
[Route("api/v{version:apiVersion}/[controller]")]
|
||||
[Produces("application/json")]
|
||||
[Authorize]
|
||||
public class WidgetController : Controller
|
||||
|
||||
Reference in New Issue
Block a user