The 400 response of api/token contains two fields: error and error_description.
Currently, only the error field in mentioned in the docs but the error_description field may contain usefull information for debugging.
This PR creates a new schema for errors with an error_description field and use it in the documentation of the api/token endpoint
The 400 response of
api/token
contains two fields:error
anderror_description
. Currently, only theerror
field in mentioned in the docs but theerror_description
field may contain usefull information for debugging.This PR creates a new schema for errors with an
error_description
field and use it in the documentation of theapi/token
endpoint