error handling and swagger updated

This commit is contained in:
karthikbhandary2
2026-02-26 18:44:04 +05:30
parent c319345af3
commit e4c5c388aa
4 changed files with 25 additions and 16 deletions
+3 -2
View File
@@ -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"`
}