1
0
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:
Hiroya Onoe
2021-09-05 03:02:01 +09:00
parent 81835a3d88
commit 398b4c16d6
4 changed files with 4 additions and 4 deletions

View File

@ -313,7 +313,7 @@ var doc = `{
"type": "string",
"description": "Range interval identifier",
"name": "range",
"in": "query"
"in": "path"
}
],
"responses": {