Unable to generate api token via API browser #2668
Trying to create token using api browser.
Looks like the problem is in Content-Type header of request:
But according to sources Users api consumes json:
and generateNewToken api doesn't have
The text was updated successfully, but these errors were encountered:
Curl works, if you will not add tag Content-Type.
This request works fine:
But this not:
…owser This forces the swagger API browser to use a Content-Type of application/json. Fixes #2668
* Add defaultValue param from ApiParam and DefaultValue annotations * Add defaultValue to @ApiParam in RolesResource * Add placeholder param to make it possible to create token from API browser This forces the swagger API browser to use Content-Type: application/json Fixes #2668