api: Default client_gravatar to true.

Default `client_gravatar` to `true` for all endpoints passing the
parameter to avoid extra payload.

Fixes #11214.
This commit is contained in:
Gaurav Pandey
2021-08-05 23:18:43 +05:30
committed by Tim Abbott
parent 5459a92e4a
commit 067a32925d
9 changed files with 26 additions and 15 deletions

View File

@@ -229,7 +229,7 @@ def get_members(client: Client) -> None:
# {code_example|start}
# You may pass the `client_gravatar` query parameter as follows:
result = client.get_members({"client_gravatar": True})
result = client.get_members({"client_gravatar": False})
# {code_example|end}
validate_against_openapi_schema(result, "/users", "get", "200")