refactor: add field to APIError struct

This commit is contained in:
2025-11-02 22:39:04 -03:00
parent 92f13fba22
commit 01a7f33054
5 changed files with 25 additions and 3 deletions

View File

@@ -303,6 +303,11 @@ const docTemplate = `{
"description": "Additional error details",
"type": "string"
},
"field": {
"description": "Field name if applicable",
"type": "string",
"example": "name"
},
"message": {
"description": "Human-readable error message",
"type": "string"