diff --git a/README.md b/README.md index 4c8d612..c4cb76f 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,25 @@ # Web API Test Client -A simple Test Client built on top of ASP.NET Web API Help Page. + +ASP.NET Web API 在线测试工具,依赖说 ASP.NET Web API Help Page. + +![demo](docs/images/demo.gif) + + +forked form https://github.com/yaohuang/WebApiTestClient + +## change log +V1.2 work for ASP.NET Web API Help Page >=5.1, at 2014.6.18 + ## Documentation http://blogs.msdn.com/b/yaohuang1/archive/2012/12/04/10373804.aspx ## Get it on NuGet.org - Install-Package WebApiTestClient -Pre + Install-Package WebApiTestOnHelpPage ## LICENSE [Apache 2.0 License](https://github.com/yaohuang/WebApiTestClient/blob/master/LICENSE.md) ## Building the package -Open and build WebApiTestClient.sln. A NuGet package will be generated as part of the build process and it can be found under the bin folder. \ No newline at end of file +Open and build WebApiTestClient.sln. A NuGet package will be generated as part of the build process and it can be found under the bin folder. diff --git a/WebApiTestClient/WebApiTestClient/WebApiTestClient.1.1.2.nuspec b/WebApiTestClient/WebApiTestClient/WebApiTestClient.1.1.2.nuspec new file mode 100644 index 0000000..0b8700c --- /dev/null +++ b/WebApiTestClient/WebApiTestClient/WebApiTestClient.1.1.2.nuspec @@ -0,0 +1,30 @@ + + + + WebApiTestClient + 1.1.2 + A Simple Test Client for ASP.NET Web API + yaohuang + https://github.com/yaohuang/WebApiTestClient/blob/master/LICENSE.md + https://github.com/yaohuang/WebApiTestClient + true + A simple Test Client built on top of ASP.NET Web API Help Page. + A simple Test Client built on top of ASP.NET Web API Help Page. + en-US + ASP.NET Web API Test Client + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebApiTestClient/WebApiTestClient/WebApiTestClient.nuspec b/WebApiTestClient/WebApiTestClient/WebApiTestClient.nuspec index 301cd6b..44fcc38 100644 --- a/WebApiTestClient/WebApiTestClient/WebApiTestClient.nuspec +++ b/WebApiTestClient/WebApiTestClient/WebApiTestClient.nuspec @@ -1,22 +1,21 @@  - + - WebApiTestClient - 1.1.1 - A Simple Test Client for ASP.NET Web API - yaohuang - - https://github.com/yaohuang/WebApiTestClient - true - https://github.com/yaohuang/WebApiTestClient/blob/master/LICENSE.md + WebApiTestOnHelpPage + 1.2 + ASP.NET Web API Test Client For Web API HelpPage + wuchangx@gmail.com + https://github.com/wuchang/WebApiTestClient/blob/master/LICENSE.md + https://github.com/wuchang/WebApiTestClient + false A simple Test Client built on top of ASP.NET Web API Help Page. A simple Test Client built on top of ASP.NET Web API Help Page. en-US ASP.NET Web API Test Client - - - + + + @@ -24,8 +23,8 @@ - - + + \ No newline at end of file diff --git a/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.2.2.nuspec b/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.2.2.nuspec new file mode 100644 index 0000000..43a4aa9 --- /dev/null +++ b/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.2.2.nuspec @@ -0,0 +1,30 @@ + + + + WebApiTestOnHelpPage + 1.2.2 + ASP.NET Web API Test Client For Web API HelpPage + wuchangx@gmail.com + https://github.com/wuchang/WebApiTestClient/blob/master/LICENSE.md + https://github.com/wuchang/WebApiTestClient + false + A simple Test Client built on top of ASP.NET Web API Help Page. + A simple Test Client built on top of ASP.NET Web API Help Page. + en-US + ASP.NET Web API Test Client + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.3.0.nuspec b/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.3.0.nuspec new file mode 100644 index 0000000..adbb4b7 --- /dev/null +++ b/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.3.0.nuspec @@ -0,0 +1,30 @@ + + + + WebApiTestOnHelpPage + 1.3.0 + ASP.NET Web API Test Client For Web API HelpPage + wuchangx@gmail.com + https://github.com/wuchang/WebApiTestClient/blob/master/LICENSE.md + https://github.com/wuchang/WebApiTestClient + false + A simple Test Client built on top of ASP.NET Web API Help Page. + A simple Test Client built on top of ASP.NET Web API Help Page. + en-US + ASP.NET Web API Test Client + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.3.4.nuspec b/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.3.4.nuspec new file mode 100644 index 0000000..f7b158d --- /dev/null +++ b/WebApiTestClient/WebApiTestClient/WebApiTestOnHelpPage.1.3.4.nuspec @@ -0,0 +1,30 @@ + + + + WebApiTestOnHelpPage + 1.3.4 + ASP.NET Web API Test Client For Web API HelpPage + wuchangx@gmail.com + https://github.com/wuchang/WebApiTestClient/blob/master/LICENSE.md + https://github.com/wuchang/WebApiTestClient + false + A simple Test Client built on top of ASP.NET Web API Help Page. + A simple Test Client built on top of ASP.NET Web API Help Page. + en-US + ASP.NET Web API Test Client + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WebApiTestClient/WebApiTestClient/tools/Install.ps1 b/WebApiTestClient/WebApiTestClient/tools/Install.ps1 index dc6d860..a96dccb 100644 --- a/WebApiTestClient/WebApiTestClient/tools/Install.ps1 +++ b/WebApiTestClient/WebApiTestClient/tools/Install.ps1 @@ -6,7 +6,7 @@ if($file) { $file.Document.Selection.StartOfDocument() if(!$file.Document.MarkText("@Html.DisplayForModel(`"TestClientDialogs`")")) { - $file.Document.ReplaceText("@section Scripts {", "@Html.DisplayForModel(`"TestClientDialogs`")`n@section Scripts {`n @Html.DisplayForModel(`"TestClientReferences`")") + $file.Document.ReplaceText("@model HelpPageApiModel", "@model HelpPageApiModel`n@section Scripts {`n @Html.DisplayForModel(`"TestClientDialogs`")`n @Html.DisplayForModel(`"TestClientReferences`")`n}") $file.Save() } else diff --git a/WebApiTestClient/WebApiTestClient/tools/Uninstall.ps1 b/WebApiTestClient/WebApiTestClient/tools/Uninstall.ps1 index f191ffd..41273d2 100644 --- a/WebApiTestClient/WebApiTestClient/tools/Uninstall.ps1 +++ b/WebApiTestClient/WebApiTestClient/tools/Uninstall.ps1 @@ -4,6 +4,6 @@ if($file) { $file.Open() $file.Document.Activate() $file.Document.Selection.StartOfDocument() - $file.Document.ReplaceText("@Html.DisplayForModel(`"TestClientDialogs`")`n@section Scripts {`n @Html.DisplayForModel(`"TestClientReferences`")", "@section Scripts {") + $file.Document.ReplaceText( "@model HelpPageApiModel`n@section Scripts {`n @Html.DisplayForModel(`"TestClientDialogs`")`n @Html.DisplayForModel(`"TestClientReferences`")`n}","@model HelpPageApiModel") $file.Save() } \ No newline at end of file diff --git a/docs/images/demo.gif b/docs/images/demo.gif new file mode 100644 index 0000000..4ee3fc3 Binary files /dev/null and b/docs/images/demo.gif differ