mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix(docs): wrong parameter in OpenAPI-Docs
The parameter `range` of `/compat/wakatime/v1/users/{user}/stats/{range} [get]` is path. However, it was described as query in OpenAPI-Docs. So, I fixed it and generated files in `static/docs`. Closes: #239 Signed-off-by: Hiroya Onoe <hiroyanoe.io@gmail.com>
This commit is contained in:
@ -313,7 +313,7 @@ var doc = `{
|
||||
"type": "string",
|
||||
"description": "Range interval identifier",
|
||||
"name": "range",
|
||||
"in": "query"
|
||||
"in": "path"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
Reference in New Issue
Block a user