Created attachment 40614 [details] [review] Bug 14458: Add SwaggerUI documentation for RESTful API Test plan: 1/ Go to http://api.HOSTNAME/v1/doc 2/ Try to play request for /borrowers and /borrowers/{borrowernumber} paths WARNING: /borrowers return all borrowers, so I recommend not to test it if you have many borrowers in your database
Created attachment 40615 [details] [review] Bug 14458: Fix missing character encoding in SwaggerUI index.html
*** Bug 14455 has been marked as a duplicate of this bug. ***
Created attachment 41167 [details] [review] Bug 14458: Add SwaggerUI documentation for RESTful API Test plan: 1/ Go to http://api.HOSTNAME/v1/doc 2/ Try to play request for /borrowers and /borrowers/{borrowernumber} paths WARNING: /borrowers return all borrowers, so I recommend not to test it if you have many borrowers in your database Now with a working API KEY authentication system!
Created attachment 41309 [details] [review] Bug 14458: 5. Add SwaggerUI documentation for RESTful API
Created attachment 41332 [details] [review] Bug 14458: 5. Add SwaggerUI documentation for RESTful API
Created attachment 41544 [details] [review] Bug 14458: 5. Add SwaggerUI documentation for RESTful API
Created attachment 41908 [details] [review] Bug 14458: (follow-up) Add checkbox to optionally disable Authorization-header In case you want to test in SwaggerUI without sending the Authorization-header, there is now a checkbox to optionally disable it.
Created attachment 42327 [details] [review] Bug 14458: 5. Add SwaggerUI documentation for RESTful API Changed API endpoint to /api/v1/...
Closing this as I doubt it is wanted in Koha. But feel free to reopen if you think otherwise.