Skip to content

Disable swagger.json (by config) #116

@heeplr

Description

@heeplr

Refering to noirbizarre/flask-restplus#464

Are there any plans to merge noirbizarre/flask-restplus#465 ?

It would be awesome if it could be disabled by app config as well, since that seems to be the way most apps differ between development and production.

Maybe how flask-apispec does it would be a good way: RESTX_SWAGGER_URL and RESTX_SWAGGER_UI_URL to define the routes. When set to None, the corresponding component is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions