[Koha-bugs] [Bug 19119] New: Remove t/db_dependent/api/v1/swagger/definitions.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 15 20:00:35 CEST 2017


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

            Bug ID: 19119
           Summary: Remove t/db_dependent/api/v1/swagger/definitions.t
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org

While it might have seemed a good idea to have such a test, I find it useless
as-is, because there's no obvious reason why we would expose our model on the
API spec while it is just user-facing and not a technical explanation on how we
do things inside our codebase.

A good example of this could be bug 18120, in which it is obvious that some
attribute names are misleading or the attributes themselves need to be stripped
out of the object for exposing on the API.

There can be ways of doing this two operations (i.e. removing/adding
attributes, and renaming) without handling it on the controller as those
patches do. But in any case, there's no need for definitions.t.

We could have a gentle 'warning' in the QA tools in case of a column being
added to the DB structure and not to the corresponding endpoint, but it has to
be a soft requirement IMO.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list