Materials-Consortia / API

2 stars 5 forks source link

update README #16

Closed ltalirz closed 5 years ago

ltalirz commented 5 years ago
sauliusg commented 5 years ago

Hi, folks,

just noticed: the JSON validator tests do not pass after merge:

saulius@koala Materials-Consortia-API/ $ make listdiff tests/outputs/base_url_info_schema_001.diff tests/outputs/base_url_info_schema_002.diff tests/outputs/base_url_info_schema_003.diff tests/outputs/base_url_info_schema_004.diff tests/outputs/single-entry_002.diff saulius@koala Materials-Consortia-API/ $ cat tests/outputs/base_url_info_schema_001.diff 1c1 < tools/json-validator: tests/inputs/cod-optimade-info.json: /data: oneOf failed: Properties not allowed: attributes, id, type. Properties not allowed: available_endpoints. --- > tools/json-validator: tests/inputs/cod-optimade-info.json: /data: oneOf failed: ([2] 0Properties not allowed: attributes, type, id. [3] /0/attributes: Properties not allowed: available_endpoints.)

sauliusg commented 5 years ago

PS.: Seems like differences in json validator version caused the tests to fail.