refactor: add field to APIError struct
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user