swaggo / swag

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

[v2] supports reusable enums and nullable enums #1855

Open XiXiangFiles opened 1 month ago

XiXiangFiles commented 1 month ago

In Swagger v3.x, specifications include features such as reusable enums and nullable enums. It would be beneficial for v2 to also support these features. ref: enums