Created
October 25, 2015 10:31
-
-
Save justinyoo/790a961c6df8ca3abb08 to your computer and use it in GitHub Desktop.
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
[assembly: PreApplicationStartMethod(typeof(SwaggerConfig), "Register")] | |
namespace HalSwaggerSample.HalApiApp | |
{ | |
public class SwaggerConfig | |
{ | |
public static void Register() | |
{ | |
... | |
GlobalConfiguration.Configuration | |
.EnableSwagger(c => | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment