Skip to content

Overriding basePath #1095

@Cheprer

Description

@Cheprer

Could add support for overriding of basePath in specification when loading from SwaggerUIBundle please?

This could fix the issue with multiple basePaths requested in here OAI/OpenAPI-Specification#562

At least for our case since we are using hapi views and then we can modify html context to render. So then you can use this context to modify basePath property when instantiating SwaggerUIBundle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions