Skip to content

@server support: #2011

Open
Open
@Drako01

Description

@Drako01

Hi, thank you for this amazing tool!
I would love to see support for the @server annotation in swag, so we can define multiple servers (like localhost, production, etc.) directly in the code and have them appear in the generated Swagger documentation.

This would be very useful for projects with different environments, as supported by the OpenAPI spec.
Thanks again for the great work! 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions