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

Convert enable_api_doc_views to bool #218

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 24, 2017

  1. Convert enable_api_doc_views to bool

    Previously, setting
    pyramid_swagger.enable_api_doc_views = false
    in a configuration .ini file would not disable the api_doc views,
    because the string 'false' is truthy.
    
     - Convert the string-value of
       settings.get('pyramid_swagger.enable_api_doc_views', True)
       to a bool using pyramid.settings.asbool .
       (https://docs.pylonsproject.org/projects/pyramid/en/latest/api/settings.html)
    DaineDanielson authored and Daine Danielson committed Sep 24, 2017
    Configuration menu
    Copy the full SHA
    4438ef6 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2018

  1. Configuration menu
    Copy the full SHA
    393c4b0 View commit details
    Browse the repository at this point in the history