Browse Source

Correct grammar in APIEmpty documentation (#1748)

* Correct grammar in APIEmpty doc

* Generate swagger.v1.json
tags/v1.2.0-rc1
Jonas Östanbäck Lunny Xiao 8 years ago
parent
commit
5c3fc0b67f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/context/api.go
  2. +1
    -1
      public/swagger.v1.json

+ 1
- 1
modules/context/api.go View File

@@ -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{}



+ 1
- 1
public/swagger.v1.json View File

@@ -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…
Cancel
Save