protagonist@1.0.0 (by markatom) + option fail-on-wornings (by markatom): just a merge of changes requested by markatom in pull requests #10 & #11
option requireBlueprintName (by dougbeasley): similar to changes requested by dougbeasley in pull request #14
fix isJsonContentType() (by cherehapa): determine json by regexp: Content-type may contain also encoding, i.e. allow headers like:
Content-Type: application/json; charset=utf-8
(no pull requests yet w/ similar functionality (up to 2016Dec9)).
check schemas & their definitions (by cherehapa): if blueprint defines "+Schema", then it should appear in .schema after protagonist.parse. We add check of it to be a correct json (whish is similar to #15 (except logging improvement, which is not needed in our case)) + add check of it for json schema rules via ajv schema validator module (no pull requests yet w/ similar functionality(up to 2016Dec9)).
protagonist@1.0.0 (by markatom) + option fail-on-wornings (by markatom): just a merge of changes requested by markatom in pull requests #10 & #11
fix isJsonContentType() (by cherehapa): determine json by regexp: Content-type may contain also encoding, i.e. allow headers like: Content-Type: application/json; charset=utf-8 (no pull requests yet w/ similar functionality (up to 2016Dec9)).
check schemas & their definitions (by cherehapa): if blueprint defines "+Schema", then it should appear in .schema after protagonist.parse. We add check of it to be a correct json (whish is similar to #15 (except logging improvement, which is not needed in our case)) + add check of it for json schema rules via ajv schema validator module (no pull requests yet w/ similar functionality(up to 2016Dec9)).