mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 02:48:11 +01:00
Correct grammar in APIEmpty documentation (#1748)
* Correct grammar in APIEmpty doc * Generate swagger.v1.json
This commit is contained in:
parent
c4b5b121a5
commit
5db5e16ab6
@ -37,7 +37,7 @@ type APIValidationError struct {
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
//APIEmpty is a empty response
|
||||
//APIEmpty is an empty response
|
||||
// swagger:response empty
|
||||
type APIEmpty struct{}
|
||||
|
||||
|
2
public/swagger.v1.json
vendored
2
public/swagger.v1.json
vendored
@ -1269,7 +1269,7 @@
|
||||
}
|
||||
},
|
||||
"empty": {
|
||||
"description": "APIEmpty is a empty response"
|
||||
"description": "APIEmpty is an empty response"
|
||||
},
|
||||
"error": {
|
||||
"description": "APIError is error format response",
|
||||
|
Loading…
Reference in New Issue
Block a user