add swagger support

This commit is contained in:
yubaolee
2017-04-16 20:49:21 +08:00
parent a73c95bebc
commit 3ccf70bef4
6 changed files with 710 additions and 405 deletions

View 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");
}
}
}