Skip to content

possibility to remove host in configuration #255

@spinettaro

Description

@spinettaro

Hi all,

is there a way to remove the host from final swagger file?
I read other issues and I know that is possible to set it to empty string or null, but it is not good for OPEN API specification and consequentially validation - https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md .

I have to achieve this If host is not specified, it is assumed to be the same host where the API documentation is being served. .
and the only way to achieve that and be valid for API specification I have to remove completely the host key.

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions