Created
June 21, 2021 10:24
-
-
Save gistlyn/9ddbb501722455f2dacc7599ba36ec2a to your computer and use it in GitHub Desktop.
openapi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ServiceStack; | |
using ServiceStack.Api.OpenApi; | |
namespace MyApp | |
{ | |
public class ConfigureOpenApi : IConfigureAppHost | |
{ | |
public void Configure(IAppHost appHost) | |
{ | |
appHost.Plugins.Add(new OpenApiFeature()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment