chore: add status 500 errors to every endpoint

This commit is contained in:
JustTemmie 2025-04-29 21:53:17 +02:00
parent 0f993c39ec
commit 218f91dce2
6 changed files with 14 additions and 8 deletions

View file

@ -11,15 +11,16 @@ No request parameters or request body.
## Responses
| Status | Description |
| ------ | ------------------------------------- |
|--------|---------------------------------------|
| 200 | The versions supported by the server. |
| 500 | An unhandled error occured. |
### 200 response
| Name | Type | Description |
| -------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------- |
| unstable_features | dict[string:bool] | Unstable features that are supported by the server. Features not listed here indicate that a feature isn't supported. |
| versions | list[string] | **Required**: The supported protocol versions. |
| Name | Type | Description |
|-------------------|-------------------|-----------------------------------------------------------------------------------------------------------------------|
| unstable_features | dict[string:bool] | Unstable features that are supported by the server. Features not listed here indicate that a feature isn't supported. |
| versions | list[string] | **Required**: The supported protocol versions. |
```json
{