Project

General

Profile

Feature #33838

Modify generic content units controller to be Apipie compatible

Added by Ryan Verdile 3 months ago. Updated 5 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

- 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.

Associated revisions

Revision 73323fb4 (diff)
Added by Ryan Verdile about 2 months ago

Fixes #33838 - Make Generic Content Units Controller Apipie Compatible (#9776)

History

#1 Updated by Samir Jha 3 months ago

  • Triaged changed from No to Yes

#2 Updated by Ryan Verdile 2 months ago

  • Description updated (diff)
  • Subject changed from Dynamically create controllers for generic content types to Modify generic content units controller to be Apipie compatible

#3 Updated by The Foreman Bot 2 months ago

  • Assignee set to Ryan Verdile
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9776 added

#4 Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases Katello 4.4.0 added

#5 Updated by Ryan Verdile about 2 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by The Foreman Bot 5 days ago

  • Pull request https://github.com/Katello/katello/pull/9886 added

Also available in: Atom PDF