Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #25142 - fix extending module_streams api docs #7827

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

iNecas
Copy link
Member

@iNecas iNecas commented Nov 9, 2018

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 Apipie/apipie-rails#642).

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

@theforeman-bot
Copy link

Issues: #25142

@theforeman-bot
Copy link

There were the following issues with the commit message:

  • commit message for fa0b28b is not wrapped at 72nd column
  • commit message for fa0b28b is not wrapped at 72nd column

If you don't have a ticket number, please create an issue in Redmine.

More guidelines are available in Coding Standards or on the Foreman wiki.


This message was auto-generated by Foreman's prprocessor

@johnpmitsch
Copy link
Contributor

Works when tested with apipie PR, just needs the new release + bump.

Thanks for fixing this! 🙏

`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 Apipie/apipie-rails#642).

Both changes are needed in order for this issue to be resolved.
@iNecas
Copy link
Member Author

iNecas commented Nov 16, 2018

New apipie-rails version has been released and the dependency has been bumped. This PR should be ready for final re-review and merge.

@johnpmitsch johnpmitsch merged commit 951cae8 into Katello:master Nov 16, 2018
@ehelms
Copy link
Member

ehelms commented Nov 16, 2018

@iNecas is there a package release for this new apipie-rails requirement?

@iNecas
Copy link
Member Author

iNecas commented Nov 19, 2018

There is now theforeman/foreman-packaging#3208

@iNecas
Copy link
Member Author

iNecas commented Nov 19, 2018

Well, a PR is there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants