Skip to content

Commit a2345d3

Browse files
authored
Update openapi.md (#1) (#99)
Updated OpenApiResponseWithoutBodyAttribute example parameters
1 parent f256b25 commit a2345d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/openapi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ This decorator implements the [Response object](https://github.com/OAI/OpenAPI-S
269269

270270
```csharp
271271
[FunctionName(nameof(PostSample))]
272-
[OpenApiResponseWithoutBody(statusCode: HttpStatusCode.OK, contentType: "application/json", bodyType: typeof(SampleResponseModel))]
272+
[OpenApiResponseWithoutBody(statusCode: HttpStatusCode.OK)]
273273
...
274274
public static async Task<IActionResult> PostSample(
275275
[HttpTrigger(AuthorizationLevel.Function, "post", Route = "samples")] HttpRequest req,

0 commit comments

Comments
 (0)