From 8bcd4dd0333a9fe125de6647271a4d148cecd033 Mon Sep 17 00:00:00 2001 From: Lars Simon Winzer Date: Thu, 9 Apr 2026 14:09:24 +0200 Subject: [PATCH] Docs: Update copy n' paste command section with enum example, and error response --- .../docs/networking/commands/protocol-document.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/documents/docs/networking/commands/protocol-document.md b/documents/docs/networking/commands/protocol-document.md index 489a1ce..b3ca069 100644 --- a/documents/docs/networking/commands/protocol-document.md +++ b/documents/docs/networking/commands/protocol-document.md @@ -93,13 +93,23 @@ Description of the command, what it does and when it should be used. | :------------- | :----- | :---------------------------------- | :-------------------- | | `param1` | `type` | If the parameter is optional or not | Description of param1 | -### Response +### Success Response | Field | Type | Description | | :------- | :------------------ | :-------------------- | | `field1` | `type` | Description of field1 | | `field2` | `Collection` | | +| `field3` | `Enum` | Description of field3 | | Fields of `type2` | Type | Description | | :---------------- | :----- | :-------------------- | | `field1` | `type` | Description of field1 | + +| Members of `type` | Description | +| :---------------- | :--------------------- | +| `MEMBER1` | Description of member1 | + +### Error Response +| Code | Discription | +| :----------- | :----------------------- | +| `ERROR_CODE` | Description of the error | -->