mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-15 18:56:59 +00:00
Merge pull request 'Improve Swagger documentation for user endpoints' (#6050) from JakobDev/forgejo:userswagger into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6050 Reviewed-by: Otto <otto@codeberg.org>
This commit is contained in:
commit
48b91fa31a
24 changed files with 704 additions and 3 deletions
|
@ -99,6 +99,17 @@ type swaggerAPIInvalidTopicsError struct {
|
|||
// swagger:response empty
|
||||
type APIEmpty struct{}
|
||||
|
||||
type APIUnauthorizedError struct {
|
||||
APIError
|
||||
}
|
||||
|
||||
// APIUnauthorizedError is a unauthorized error response
|
||||
// swagger:response unauthorized
|
||||
type swaggerAPUnauthorizedError struct {
|
||||
// in:body
|
||||
Body APIUnauthorizedError `json:"body"`
|
||||
}
|
||||
|
||||
type APIForbiddenError struct {
|
||||
APIError
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue