Skip to content

Commit

Permalink
Update openapi.md (#1) (#99)
Browse files Browse the repository at this point in the history
Updated OpenApiResponseWithoutBodyAttribute example parameters
  • Loading branch information
kylednoland authored Jul 29, 2020
1 parent f256b25 commit a2345d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<IActionResult> PostSample(
[HttpTrigger(AuthorizationLevel.Function, "post", Route = "samples")] HttpRequest req,
Expand Down

0 comments on commit a2345d3

Please sign in to comment.