/stations: document application/x-ndjson representation; put todos

This commit is contained in:
Jannis R 2022-12-19 13:07:00 +01:00
parent 5fc72f098e
commit 9e6cc8ed6b
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 7 additions and 0 deletions

View file

@ -52,6 +52,7 @@ Returns a stop/station from [\`db-stations@3\`](https://github.com/derhuerst/db-
},
},
},
// todo: non-2xx response
},
},
},

View file

@ -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
},
},
},