minor edits and corrections (#4183)
This commit is contained in:
Родитель
e6040ed56a
Коммит
8dfacdb08e
|
@ -6,7 +6,7 @@ title: Handling Errors
|
|||
|
||||
## Introduction
|
||||
|
||||
In this section, we'll focus on handling errors in your REST API. We'll define error models and demonstrate how to use union types for different response scenarios.
|
||||
In this section, we'll focus on handling errors in your REST API. We'll define error models and demonstrate how to add them as possible responses to your CRUD operations.
|
||||
|
||||
## Why Use Error Models?
|
||||
|
||||
|
|
|
@ -401,6 +401,4 @@ In this example:
|
|||
|
||||
## Conclusion
|
||||
|
||||
In this section, we focused on implementing versioning in your REST API. By using the `@versioned` and `@added` decorators, we can manage changes to our API over time without breaking existing clients.
|
||||
|
||||
In the next section, we'll dive into creating custom response models for your REST API.
|
||||
|
|
Загрузка…
Ссылка в новой задаче