From a2345d35d433f6222b30883300f11e2cedc19525 Mon Sep 17 00:00:00 2001 From: Kyle Noland <31088025+kylednoland@users.noreply.github.com> Date: Wed, 29 Jul 2020 06:02:58 -0500 Subject: [PATCH] Update openapi.md (#1) (#99) Updated OpenApiResponseWithoutBodyAttribute example parameters --- docs/openapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/openapi.md b/docs/openapi.md index bb8925d..9df1507 100644 --- a/docs/openapi.md +++ b/docs/openapi.md @@ -269,7 +269,7 @@ This decorator implements the [Response object](https://github.com/OAI/OpenAPI-S ```csharp [FunctionName(nameof(PostSample))] -[OpenApiResponseWithoutBody(statusCode: HttpStatusCode.OK, contentType: "application/json", bodyType: typeof(SampleResponseModel))] +[OpenApiResponseWithoutBody(statusCode: HttpStatusCode.OK)] ... public static async Task PostSample( [HttpTrigger(AuthorizationLevel.Function, "post", Route = "samples")] HttpRequest req,