noirbizarre / flask-restplus

Fully featured framework for fast, easy and documented API development with Flask
http://flask-restplus.readthedocs.org
Other
2.74k stars 506 forks source link

No way to specify "schemes" in swagger doc #788

Open granigd opened 4 years ago

granigd commented 4 years ago

I know you can configure the swagger "host" property:

SERVER_NAME = "api.example.com"

which results in the swagger.json:

...
 "host": "api.example.com"}

I would like to do the same thing for the swagger "schemes" property. See: DOC . Unfortunately it seems there is no way to configure it.

....
 "schemes": [
    "https"
  ]}