swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.
MIT License
10.46k stars 1.19k forks source link

Custom attributes for tags #1784

Open Ponywka opened 5 months ago

Ponywka commented 5 months ago

Is your feature request related to a problem? Please describe. I'm using ReDoc to generate own documentation from OpenAPI specification. They have x-displayName parameter for tags. Example: museum.yaml

tags:
  - name: Operations
    x-displayName: About the museum
    description: Operational information about the museum.

Describe the solution you'd like I want to got custom attributes for tags like // @tag.x-displayName This is very cool tag

Describe alternatives you've considered Nothing to say

Additional context image