Project

General

Profile

Feature #33838

Updated by Ryan Verdile about 3 years ago

- There is an issue with Apipie and the generic content units controller where apipie is not working correctly for multiple content types.  

 - Apipie only recognizes whichever content type is set last e.g., in this loop: 

 https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/generic_content_units_controller.rb#L3-L7 

 only the last content type in the loop will show in the apidoc. 

 - To address this, remove the generic content units controller and instead dynamically create controllers for each generic content type like python packages, ostree refs 

Back