Skip to content

Instantly share code, notes, and snippets.

@morrisonbrett
Created August 24, 2021 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morrisonbrett/a9e3b5daa2dd44024a1045c2915157e9 to your computer and use it in GitHub Desktop.
Save morrisonbrett/a9e3b5daa2dd44024a1045c2915157e9 to your computer and use it in GitHub Desktop.
[FunctionName("status")]
[OpenApiOperation(operationId: "Run", tags: new[] { "Status" })]
[OpenApiSecurity("function_key", SecuritySchemeType.ApiKey, Name = "code", In = OpenApiSecurityLocationType.Query)]
[OpenApiResponseWithBody(statusCode: HttpStatusCode.OK, contentType: "application/json", bodyType: typeof(StatusModel), Description = "OK")]
public async Task<IActionResult> Run(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment