Преглед изворни кода

Correct grammar in APIEmpty documentation (#1748)

* Correct grammar in APIEmpty doc

* Generate swagger.v1.json
tags/v1.2.0-rc1
Jonas Östanbäck пре 7 година
родитељ
комит
5db5e16ab6
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1
    1
      modules/context/api.go
  2. 1
    1
      public/swagger.v1.json

+ 1
- 1
modules/context/api.go Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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…
Откажи
Сачувај