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

Filter out html by default in REST API docs #302

Merged
merged 1 commit into from
Sep 18, 2019

Conversation

daviddavis
Copy link
Contributor

Copy link
Member

@dkliban dkliban left a comment

Choose a reason for hiding this comment

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

Could you please add a new setting to settings.py?

https://drf-yasg.readthedocs.io/en/stable/settings.html#spec-url

This needs to be the URL that includes this new get parameter. This way the schema that is used to render /pulp/api/v3/docs/ will have html.

@daviddavis daviddavis force-pushed the issue5009 branch 2 times, most recently from 56ffacf to c902f4b Compare September 18, 2019 17:09
Copy link
Member

@dkliban dkliban left a comment

Choose a reason for hiding this comment

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

Thank you!

@daviddavis daviddavis merged commit d615f23 into pulp:master Sep 18, 2019
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.

2 participants