Skip to content

Commit 8b5ff47

Browse files
Update docs/core/event_handler/api_gateway.md
Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: Ruben Fonseca <[email protected]>
1 parent 4987bbe commit 8b5ff47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/event_handler/api_gateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ You can use the `Response` class to have full control over the response. For exa
875875
```
876876

877877
???- note "Using `Response` with data validation?"
878-
When using the [data validation](#data-validation) feature with `enable_validation=True`, you need to specify the concreate type for the `Response` class. This is necessary for the validation middleware to infer the underlying type and perform the validation correctly.
878+
When using the [data validation](#data-validation) feature with `enable_validation=True`, you must specify the concrete type for the `Response` class. This allows the validation middleware to infer the underlying type and perform validation correctly.
879879

880880
```python hl_lines="8 26 32"
881881
--8<-- "examples/event_handler_rest/src/data_validation_fine_grained_response.py"

0 commit comments

Comments
 (0)