https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40065

--- Comment #8 from Jonathan Druart <[email protected]> ---
(In reply to David Nind from comment #7)
> Error logs:
>   ==> /var/log/koha/kohadev/plack-api-error.log <==
>   [2025/08/29 23:15:43] [WARN] OpenAPI >>> GET api/v1/patrons
> [{"message":"Expected integer - got
> boolean.","path":"\/body\/0\/privacy_guarantor_checkouts"},{"message":
> "Expected integer - got
> boolean.","path":"\/body\/1\/privacy_guarantor_checkouts"}]

This should be fixed by

commit aea3b3c7002630489190fe6ea582757e1497b692

    Bug 39835: (follow-up) Fix API specs to check for boolean


modified: api/v1/swagger/definitions/patron.yaml

@ api/v1/swagger/definitions/patron.yaml:323 @ properties:
     type: integer
     description: patron's privacy settings related to their checkout history
   privacy_guarantor_checkouts:
-    type: integer
+    type: boolean

Can you confirm you get this error even after `yarn api:bundle && restart_all`?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to