Skip to content

openapi default Servers option should be []string{} #25

@snimshchikov

Description

@snimshchikov

If default option is an empty list, docs automatically use relative paths, which should be the default behavior
That way I don't need to activate cors and api url is always correct

Please replace Servers: []string{"http://localhost:8080"}, with Servers: []string{},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions