Swagger shows redundant data for user apis
See original GitHub issueWhen we visit http://localhost:9004/swagger-ui.html#/user-controller/updateUserPasswordUsingPOST we will see lots of redundant data which is generated automatically from User
model. How can we get read of them?
accountNonExpired boolean (query) accountNonLocked boolean (query) active boolean (query) authorities[0].authority string (query) createdAt string($date-time) (query) credentialsNonExpired boolean (query) email string (query) emailVerified boolean (query) enabled boolean (query) firstName string (query) id integer($int64) (query) lastName string (query) password string (query) roles[0].adminRole boolean (query) roles[0].id integer($int64) (query) roles[0].role string (query) Available values : ROLE_ADMIN, ROLE_USER
roles[0].userList[0].active boolean (query) roles[0].userList[0].createdAt string($date-time) (query) roles[0].userList[0].email string (query) roles[0].userList[0].emailVerified boolean (query) roles[0].userList[0].firstName string (query) roles[0].userList[0].id integer($int64) (query) roles[0].userList[0].lastName string (query) roles[0].userList[0].password string (query) roles[0].userList[0].updatedAt string($date-time) (query) roles[0].userList[0].username string (query) updatePasswordRequest (body)
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top GitHub Comments
@krupalshah Thanks for pitching in.
@isopropylcyanide Please merge this PR: https://github.com/isopropylcyanide/Jwt-Spring-Security-JPA/pull/42