Python-Wrapper icon indicating copy to clipboard operation
Python-Wrapper copied to clipboard

Improve endpoint validation

Open ghost opened this issue 7 years ago • 0 comments

It would be helpful to have valid endpoints store meta data about the endpoint itself, which would allow additional validation rules against the endpoints themselves.

An example rule could be.

[
'achievements' : {
  'requires_term' : True,
  'additional_fields' : ['sortDate']
}
]

This should help with #27 by logging any missing "fields" or "terms" when calling the endpoints.

ghost avatar May 18 '18 06:05 ghost