github zeromicro/go-zero tools/goctl/v1.8.3
goctl/v1.8.3

4 months ago

✨ Swagger Features

  • Built-in Swagger Support: Generate Swagger documents in goctl. Key features include:
    • Custom Authentication: Configure custom Swagger authentication.
    • Complex Structures: Generate Swagger definitions for complex structures.
    • Custom Example Values: Add custom example values in Swagger.
    • Custom Response Body Format: Define response body formats.
    • Custom Business Error Codes: Enumerate error codes for business logic.
    • Custom Generated File: Specify the generated Swagger file name.
    • For more details, refer to:

🔧 Fixes

🧹 Chores

  • chore(deps): Bump github.com/emicklei/proto from 1.14.0 to 1.14.1 in /tools/goctl by @dependabot in #4817
  • chore(deps): Bump github.com/redis/go-redis/v9 from 9.7.3 to 9.8.0 by @dependabot in #4821

🐛 Bug Fixes

  • Fix: The issue of generating Swagger @doc "xxx" that fails and use the right ... by @Rankgice in #4816

🌟 New Contributors

Full Changelog: Compare v1.8.2...v1.8.3

Don't miss a new go-zero release

NewReleases is sending notifications on new releases.