leonluc-dev 7e6ce69c64
[ASPNETCORE 3.x] Microsoft.AspNetCore.Authorization directive no longer requires useSwashbuckle condition (#8368)
* Update controller.mustache

Moved using directive for Microsoft.AspNetCore.Authorization outside of useSwashbuckle tag to prevent compilation errors with Authorize tag if Swashbuckle is disabled.

* Updated aspnetcore-3.x samples
2021-03-27 09:56:37 +08:00
..

Org.OpenAPITools - ASP.NET Core 3.0 Server

This is a sample server Petstore server. 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/Org.OpenAPITools
docker build -t org.openapitools .
docker run -p 5000:8080 org.openapitools