Skip to content

Get list of all Swagger UI Endpoints? #203

Closed
@CalebM1987

Description

@CalebM1987

For our Flask Apps, we usually are creating several different blueprints. Recently, we have integrated flask_restx so we can add documentation. As part of the REST API's we are creating, it would be nice to dynamically get all the Swagger UI endpoints (registered namespaces) so I can make a directory to point to the help for each blueprint. I know I can manually register a list of these and use that, but is there any way to do this programmatically so we can dynamically load all the locations of Swagger help at runtime?

We are hoping to be able to glean this from the app.config or some other way that is easily accessible if flask_restx maintains a registry of these internally. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions