https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38291 --- Comment #76 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211235 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211235&action=edit Bug 38291: (QA follow-up) Update id swagger definition to match db library_groups.id is an auto increment int(11) column, and the API returns it as a number, but the swagger definition described it as a string of at most 10 characters. Describe it as a read only integer so that the specification matches the database and what the API returns. To test: 1. Apply the patches, then run yarn api:bundle and restart_all 2. Log in to the staff interface as a superlibrarian and visit /api/v1/library_groups => SUCCESS: the identifier of each group is a number, for example 3, and not a string 3. Run: prove t/db_dependent/api/v1/library_groups.t xt/api.t => SUCCESS: Tests pass Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.