mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-22 22:15:29 +02:00
error handling and swagger updated
This commit is contained in:
@@ -455,9 +455,10 @@ type DeleteOrgReposResponse struct {
|
||||
}
|
||||
|
||||
// DeleteRepoFailure represents a repository that failed to delete
|
||||
// swagger:model
|
||||
type DeleteRepoFailure struct {
|
||||
// Repository name
|
||||
RepoName string `json:"repo_name"`
|
||||
// Reason for deletion failure
|
||||
Reason string `json:"reason"`
|
||||
// Message to be displayed
|
||||
Message string `json:"reason"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user