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

Add json_only keyword to allow serving only swagger.json and not static files #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ukch
Copy link

@ukch ukch commented Apr 13, 2018

Closes #48.

@ukch
Copy link
Author

ukch commented Apr 13, 2018

Note: the build broke because of internal config issues and nothing to do with this PR.

@@ -46,7 +46,8 @@ def setup_swagger(app: web.Application,
contact: str = "",
swagger_home_decor: FunctionType = None,
swagger_def_decor: FunctionType = None,
swagger_info: dict = None):
swagger_info: dict = None,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you just document this possiblity?

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

Successfully merging this pull request may close these issues.

2 participants