mirror of
https://gitee.com/gitea/gitea.git
synced 2024-11-30 10:47:40 +08: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