Skip to content

Commit

Permalink
fix broken OpenAPI spec (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
makp0 authored Apr 24, 2023
1 parent d057c31 commit 8638226
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async Task<IResult> (HttpContext context, ICommandService<TAggregate> service) =
}
)
.Accepts<TContract>(false, "application/json")
.Produces<Result>()
.Produces<Eventuous.OkResult>()
.Produces<ErrorResult>(StatusCodes.Status404NotFound)
.Produces<ErrorResult>(StatusCodes.Status409Conflict)
.Produces<ErrorResult>(StatusCodes.Status400BadRequest);
Expand Down Expand Up @@ -224,7 +224,7 @@ async Task<IResult> (HttpContext context) => {
}
)
.Accepts(type, false, "application/json")
.Produces<Result>()
.Produces<Eventuous.OkResult>()
.Produces<ErrorResult>(StatusCodes.Status404NotFound)
.Produces<ErrorResult>(StatusCodes.Status409Conflict)
.Produces<ErrorResult>(StatusCodes.Status400BadRequest);
Expand Down

0 comments on commit 8638226

Please sign in to comment.