mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 03:11:51 +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
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue