snok/drf-openapi-tester

Add ignore_case option for fields.

Closed this issue · 0 comments

Add an ignore_case option.

Two approaches, I like the first one best I think. Both would be nice.

  1. on function call (ignore case for a key for that given call)
  2. project setting (ignore case for that key, always)

Example:

validate_response(response=response, method=GET”, endpoint=api/v1/my/api”, ignore_case=[“mY_strange-KEY”])