https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38365
--- Comment #257 from David Cook <[email protected]> --- (In reply to Lari Taskula from comment #256) > (In reply to David Cook from comment #237) > > Hmm that's annoying. It works in practice but swagger-cli must not like it. > > Perhaps we do need separate endpoints for the different report syntaxes. > Annoying indeed. While two separate endpoints would probably work, I felt > like instead of trying to describe the different types of reports with the > limited set of tools given by OpenAPIv2, it's easier to just skip that and > handle the parameters we need in the controller. I mean there seems to be > variations among browsers even within the "report-uri" directive. I don't > think we have to be very specific with the OpenAPI spec here, as this is an > endpoint only browsers will use. But if someone wants to nevertheless > attempt the two-endpoint implementation, I'll be happy to test that. Oh yeah that's a good point. Yeah rather than enforcing it with the OpenAPI let's do it in the code. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
