docs(routes api): correct list handler cursor docs

This commit is contained in:
Enot (ded) Skelly
2026-06-12 08:31:59 -07:00
parent 87239bd4b8
commit b6e33ca460
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1274,7 +1274,7 @@ const docTemplate = `{
},
{
"type": "integer",
"description": "Route ID of last item for pagination",
"description": "Epoch ms timestamp of last item for pagination",
"name": "cursor",
"in": "query"
},
+1 -1
View File
@@ -1272,7 +1272,7 @@
},
{
"type": "integer",
"description": "Route ID of last item for pagination",
"description": "Epoch ms timestamp of last item for pagination",
"name": "cursor",
"in": "query"
},
+1 -1
View File
@@ -1831,7 +1831,7 @@ paths:
in: query
name: hopCount
type: integer
- description: Route ID of last item for pagination
- description: Epoch ms timestamp of last item for pagination
in: query
name: cursor
type: integer
+1 -1
View File
@@ -32,7 +32,7 @@ func RoutesRouter(reader api.Reader) http.Handler {
// @Produce json
// @Param iata query string false "Filter by IATA code"
// @Param hopCount query int false "Filter by exact hop count"
// @Param cursor query int false "Route ID of last item for pagination"
// @Param cursor query int false "Epoch ms timestamp of last item for pagination"
// @Param limit query int false "Max results (default 50)"
// @Success 200 {object} []api.KnownRoute
// @Failure 500 {object} handlers.APIError