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

Pull schemes from config if present #201

Merged
merged 1 commit into from
Jun 2, 2018

Conversation

mathieu1
Copy link
Contributor

Fixes an issue where schemes is respected when provided as template in the constructor

app.config['SWAGGER'] = { 'uiversion': 3 }
Swagger(app, template={ 'schemes': ['https'] })

but not when provided through the config

app.config['SWAGGER'] = {
    'uiversion': 3,
    'schemes': ['https']
}
Swagger(app)

Possibly related to #134

@coveralls
Copy link

coveralls commented May 30, 2018

Coverage Status

Coverage decreased (-0.1%) to 90.437% when pulling e95d39d on mathieu1:mc-schemes-config into 3ed9821 on rochacbruno:master.

@rochacbruno rochacbruno merged commit 6bdacba into flasgger:master Jun 2, 2018
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.

3 participants