Project

General

Profile

Bug #25142

[Modularity] - name_stream_only and host_ids missing from apidocs

Added by Omkar Khatavkar about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Command works fine

curl -X GET -s -k -u admin:changeme 'https://localhost/katello/api/v2/module_streams?host_ids[]=1&name_stream_only=1'  --globoff|json_reformat

But the same details are not geting udpated in

http://localhost:3000/apidoc/v2/module_streams.html

Associated revisions

Revision 951cae82 (diff)
Added by Ivan Necas almost 2 years ago

Fixes #25142 - fix extending module_streams api docs

`update_api` is only usable from within a concern. When extending an API
inside controller that's coming from concern, `apipie_update_params`
should be used instead.

Also, there has been an issue on apipie side, that prevented merging
top-level params (see https://github.com/Apipie/apipie-rails/pull/642).

Both changes are needed in order for this issue to be resolved.

History

#1 Updated by Justin Sherrill about 2 years ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.9.0
  • Found in Releases deleted (Katello 3.9.1)

#2 Updated by Jonathon Turel almost 2 years ago

  • Target version changed from Katello 3.9.0 to Katello 3.10.0

#3 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7827 added

#4 Updated by Ivan Necas almost 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF