Actions
Task #2411
closedSwagger documentation for Authentication has wrong example
Start date:
07/29/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Description
The swagger documentation for the Authentication endpoint (https://demo.czechidm.com/idm/swagger-ui.html?urls.primaryName=core#/Authentication) has wrong structure - the "password" parameter should be single valued. The given example doesn't work:
It should be only:
{ "password": "string", "username": "admin" }
Files
Updated by Radek Tomiška over 4 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Swagger documentation is generated automatically from "GuardedString" data type this way, we will see, what we can do here.
Updated by Radek Tomiška over 4 years ago
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Alena Peterová
- Target version set to 10.5.0
- % Done changed from 0 to 90
I fixed data type definition for "GuardedString" in swagger documentation, commit:
https://github.com/bcvsolutions/CzechIdMng/commit/f52496d48c08bb2033f7eafbfdf6f7531b0c16ae
Could you provide me a feedback, please?
Updated by Radek Tomiška over 4 years ago
- Assignee changed from Alena Peterová to Vít Švanda
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did review. LGTM
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed
Actions