mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-15 17:36:00 +00:00
docs(api): document 401/403 responses for user key endpoints (#38711)
This commit is contained in:
@@ -97,6 +97,12 @@ type APIForbiddenError struct {
|
||||
APIError
|
||||
}
|
||||
|
||||
// APIUnauthorizedError is an unauthorized error response
|
||||
// swagger:response unauthorized
|
||||
type APIUnauthorizedError struct {
|
||||
APIError
|
||||
}
|
||||
|
||||
// APINotFound is a not found empty response
|
||||
// swagger:response notFound
|
||||
type APINotFound struct{}
|
||||
|
||||
Reference in New Issue
Block a user