Commit Graph

20 Commits

Author SHA1 Message Date
Miroslav Bajtoš b8cb893497
docs: update LTS versions in README
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-10-12 10:06:57 +02:00
Raymond Feng bda981feb8 feat: add options.rootProperty for json/xml
Using `error` as the root property is a good default but we should
be able to use a different one or don't use it at all.
2020-06-23 10:05:24 -07:00
shimks 80ebf30cfa Add type definition and writeErrorToResponse 2018-08-30 12:09:28 -04:00
shimks 56d26b377e drop node 4 from travis and update dependencies 2018-06-07 12:47:13 -04:00
karanssj4 99e69336d9 fixed json typo of server/middleware.json
the json format is valid now
2017-08-02 14:21:49 +05:30
Raj 4d973929c1
Add new option: negotiateContentType
The option controls whether response content type is negotiated with
the client and it's enabled by default.
2017-07-20 10:19:29 +02:00
Miroslav Bajtoš 095ee9d1bd Fix markdown formatting in README 2017-03-22 09:49:22 +01:00
David Cheung 1878aca979 Update readme with added XML support 2017-02-01 11:12:13 -05:00
Zak Barbuto 382fffc8b0 Add a machine-readable "code" property
Include `error.code` in 4xx responses.
2017-02-01 10:10:20 +01:00
Zak Barbuto 9e576ce041 Describe "safeFields" option in README 2017-01-31 11:13:45 +01:00
Rand McKinney 7658eb4d32 Readme cleanup (#36)
* Cleanup README for docs

* Final fixes

* Update README.md

Note that migration required only for apps scaffolded w/ older tools.

* Update README.md

* Update README.md

* Update README.md

Made final fixes per review comments.
2017-01-09 12:09:47 -08:00
Amir Jafarian a9db471e34 Make the examples more clear 2016-10-17 11:22:22 -04:00
Amir Jafarian 79cf9a7c4c Fix readme 2016-10-14 15:38:23 -04:00
Loay 1eb9db1949 Fix minor Syntax error 2016-08-18 11:47:21 -04:00
Loay 0906001543 Add documentation 2016-08-17 14:25:36 -04:00
Richard Pringle 67bb4a0981 Improve grammar in readme. 2016-07-12 10:37:26 -04:00
David Cheung 5646680e5e HTML response for accepted headers 2016-06-14 12:04:32 -04:00
Miroslav Bajtoš 225d35994b Initial implementation
The response is always JSON
Options supported: log, debug
2016-05-13 13:10:53 +02:00
Miroslav Bajtoš 5a8c01c2f4 Add project infrastructure
- add license
 - scaffold basic package.json
 - setup eslint linter
 - setup Travis CI
2016-05-13 12:58:28 +02:00
Simon Ho 04abccbbae Initial commit 2016-01-22 09:08:22 -08:00