openQA
openQA copied to clipboard
Proof of Concept - Demonstrate OpenAPI::Modern plugin
Issue: https://progress.opensuse.org/issues/186675
Notes: When porting only single routes, they have to be specified explicitly. Once all routes are ported, there only needs to be one route per controller:
$api_public_r->any('/jobs*')->to('job#catchall');
Contra:
- Does not yet support
application/x-www-form-urlencoded, so PUT/POST won't work. We would have to move toapplication/jsonrequests - Some dependencies not yet in Tumbleweed, even more not in 15.6
We would have to move to application/json requests
This would be an API break. Maybe we should have the new routes under v2 then and leave the current API as-is.
This would be an API break. Maybe we should have the new routes under v2 then and leave the current API as-is.
Keep in mind that there is still the other, more mature plugin we want to try.