https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17032 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53980|0 |1 is obsolete| | --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 54022 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54022&action=edit Bug 17032: Make sure Swagger object definition is up-to-date with Koha-object If a definition in api/v1/definitions/*.json has a corresponding Koha-object by filename, compare properties of the definition and columns of the Koha-object and ensure that all columns are defined inside properties of the definition. To test: 1. Run t/db_dependent/api/v1/swagger/definitions.t 2. See that all of the tests pass. (If not, file a bug report to fix missing properties in the Swagger definition.) 3. Remove a property from api/v1/swagger/definitions/patron.json 4. Repeat step 1 5. See that test fails and lets you know that the property you just removed is missing from the definition. Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.