mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 17:14:27 +00: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"`
|
URL string `json:"url"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//APIEmpty is a empty response
|
//APIEmpty is an empty response
|
||||||
// swagger:response empty
|
// swagger:response empty
|
||||||
type APIEmpty struct{}
|
type APIEmpty struct{}
|
||||||
|
|
||||||
|
2
public/swagger.v1.json
vendored
2
public/swagger.v1.json
vendored
@ -1269,7 +1269,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"empty": {
|
"empty": {
|
||||||
"description": "APIEmpty is a empty response"
|
"description": "APIEmpty is an empty response"
|
||||||
},
|
},
|
||||||
"error": {
|
"error": {
|
||||||
"description": "APIError is error format response",
|
"description": "APIError is error format response",
|
||||||
|
Loading…
Reference in New Issue
Block a user