mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
add swagger support
This commit is contained in:
16
OpenAuth.WebApi/HomeController.cs
Normal file
16
OpenAuth.WebApi/HomeController.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace OpenAuth.WebApi
|
||||
{
|
||||
public class HomeController :Controller
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
return Redirect("/Swagger/ui/index");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user