[Koha-bugs] [Bug 22835] New: Serve static files from plugins through the API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 2 20:59:16 CEST 2019


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

            Bug ID: 22835
           Summary: Serve static files from plugins through the API
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: new feature
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

The last step to avoid having to tweak (or even depend on) Apache for plugins
is having a way to serve static files through the OpenAPI spec.

The plugins serving static files would supply a static_files_routes (or
similar) method that should return the OpenAPI spec for a directory tree
bundled with the plugin itself. This could be done manually, but a way to
auto-generate this spec will be added to the KitchenSink plugin so it can be
automated through the use of gulp.

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


More information about the Koha-bugs mailing list