diff --git a/routes/station.js b/routes/station.js index dd9c473..c2b24b3 100644 --- a/routes/station.js +++ b/routes/station.js @@ -52,6 +52,7 @@ Returns a stop/station from [\`db-stations@3\`](https://github.com/derhuerst/db- }, }, }, + // todo: non-2xx response }, }, }, diff --git a/routes/stations.js b/routes/stations.js index 3f79bf5..c64a464 100644 --- a/routes/stations.js +++ b/routes/stations.js @@ -166,8 +166,14 @@ Instead of receiving a JSON response, you can request [newline-delimited JSON](h }, // todo: example(s) }, + 'application/x-ndjson': { + schema: { + type: 'string', + }, + }, }, }, + // todo: non-2xx response }, }, },