docs: update swagger annotation

This commit is contained in:
Gauthier Roebroeck 2022-01-05 11:27:31 +08:00
parent 7bd5454dc2
commit f23d16d387

View file

@ -183,7 +183,7 @@ class BookController(
page,
).map { it.restrictUrl(!principal.user.roleAdmin) }
@PageableWithoutSortAsQueryParam
@PageableAsQueryParam
@GetMapping("api/v1/books/duplicates")
@PreAuthorize("hasRole('$ROLE_ADMIN')")
fun getDuplicateBooks(