https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194 --- Comment #36 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Jonathan Druart from comment #35)
(In reply to Martin Renvoize from comment #34)
The spec I was testing with is available here: https://gitlab.com/mrenvoize/koha-swagger
I think it's validly broken up
I've tested v3 on https://gitlab.com/joubu/Koha/-/commits/openapiv3 Same problem with refs.
I was working on cities, and got the following error: Warning: Could not load REST API spec bundle: /components/schemas/cities_yaml: /oneOf/0 Properties not allowed: get./components/schemas/cities_yaml/$ref: /oneOf/1 Missing property. at /usr/share/perl5/Mojolicious/Plugin/OpenAPI.pm line 27. But "/components/schemas/cities_yaml" does not make sense See the bundle file 2045 /cities: 2046 $ref: 'paths/cities.yaml' and I moved the "get:" route to api/v1/swagger/paths/cities.yaml If I move it back to the bundle file, all is working correctly And so I have no idea how to debug... -- You are receiving this mail because: You are watching all bug changes.