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 #2794 - set api_version and app_info in v1 and v2 base_controllers #1092

Closed
wants to merge 1 commit into from

Conversation

isratrade
Copy link
Member

No description provided.

@@ -5,7 +5,7 @@ class BaseController < Api::BaseController

resource_description do
api_version "v1"
api_version "v2"
app_info "Foreman v1 is currently in the default API version."
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if app_info is not set, then it generates in the docs

Another API description

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Foreman v1 is currently the default API version." makes more sense

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domcleal, you're right. I will fire my proofreader (uh oh, that's me :-). I'll regenerate the docs too

@ohadlevy
Copy link
Member

merged as af8d606, thanks!

@ohadlevy ohadlevy closed this Dec 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants