Skip to content

Commit

Permalink
Fix typo in cqrs-microservice-reads.md (#20627)
Browse files Browse the repository at this point in the history
  • Loading branch information
zakaria-c authored Sep 15, 2020
1 parent 269b116 commit 9eb4479
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public class OrderSummary
}
```

This is another reason why explicit returned types are better than dynamic types, in the long term. When using the `ProducesResponseType` attribute, you can also specify what is the expected outcome in regards possible HTTP errors/codes, like 200, 400, etc.
This is another reason why explicit returned types are better than dynamic types, in the long term. When using the `ProducesResponseType` attribute, you can also specify what is the expected outcome in regards to possible HTTP errors/codes, like 200, 400, etc.

In the following image, you can see how Swagger UI shows the ResponseType information.

Expand Down

0 comments on commit 9eb4479

Please # to comment.