/stations: document application/x-ndjson representation; put todos
This commit is contained in:
parent
5fc72f098e
commit
9e6cc8ed6b
2 changed files with 7 additions and 0 deletions
|
@ -52,6 +52,7 @@ Returns a stop/station from [\`db-stations@3\`](https://github.com/derhuerst/db-
|
|||
},
|
||||
},
|
||||
},
|
||||
// todo: non-2xx response
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -166,10 +166,16 @@ 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
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue