openapi-generator/samples/server/petstore/aspnetcore
Max K 645d71ed3b Operation now returns StatusCode Stubs as well (#7098)
* Operation now returns StatusCode Stubs as well

* Updated mustache file to use comments

return StatusCode(..) is now commented out.

* Change default(..) to not escape the type

default(dataType) --> default(&dataType)

* Return IActionResult no matter what..

* Updated formatting

* Ran bin/aspnetcore-petstore-server.sh
2017-12-05 22:14:00 +08:00
..
.swagger-codegen remove ref to SO (#6209) 2017-07-29 18:53:08 +08:00
src/IO.Swagger Operation now returns StatusCode Stubs as well (#7098) 2017-12-05 22:14:00 +08:00
.swagger-codegen-ignore [aspnetcore] Deprecating aspnet5 for aspnetcore 2016-10-16 21:22:34 -04:00
build.bat Remove Apache license from server stub generators (#4200) 2016-11-17 00:37:21 +08:00
build.sh Remove Apache license from server stub generators (#4200) 2016-11-17 00:37:21 +08:00
global.json [C#][aspnetcore] Fix broken Docker build option & documentation (#5128) 2017-03-21 14:39:24 +08:00
IO.Swagger.sln [C#][aspnetcore] Fix broken Docker build option & documentation (#5128) 2017-03-21 14:39:24 +08:00
NuGet.Config [aspnetcore] Deprecating aspnet5 for aspnetcore 2016-10-16 21:22:34 -04:00
README.md [C#][aspnetcore] Fix broken Docker build option & documentation (#5128) 2017-03-21 14:39:24 +08:00

IO.Swagger - ASP.NET Core 1.0 Server

This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key to test the authorization filters.

Run

Linux/OS X:

sh build.sh

Windows:

build.bat

Run in Docker

cd src/IO.Swagger
docker build -t io.swagger .
docker run -p 5000:5000 io.swagger