facilityregistry / fred-api

Facility Registry API Documentation Website
11 stars 4 forks source link

In Create Facility spec, issue with required fields #51

Closed edjez closed 11 years ago

edjez commented 11 years ago

It says: The body can’t be empty and must include at least the name attribute, a string that will be used as the name of the facility.

One would expect it to say: the body can avoid the name attribute if it has other stuff. Of course hopefully people would not send an empty document.

ctford commented 11 years ago

My interpretation of the above is just that "name is mandatory". Are you interpreting it as "there must be at least one field present"?

edjez commented 11 years ago

Sorry. "name is mandatory" is a simpler and clearer way of saying it.

mberg commented 11 years ago

Updated