✨ 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
- fix: Form fields of request optional by @soasurs in #4755
- fix: The parameter "required" in the Swagger document generated for repair is incorrect by @kesonan in #4791
- fix: Array schema generation incorrect by @kesonan in #4801
- fix: pg gen model missing cache prefix by @SpectatorNan in #4788
- fix: goctl api tsgen by @wwwfeng in #4726
🧹 Chores
- chore(deps): Bump
github.com/emicklei/proto
from1.14.0
to1.14.1
in/tools/goctl
by @dependabot in #4817 - chore(deps): Bump
github.com/redis/go-redis/v9
from9.7.3
to9.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
- @hthuz made their first contribution in #4766
- @dushaoshuai made their first contribution in #4809
- @Rankgice made their first contribution in #4816
- @Disdjj made their first contribution in #4790
- @hoshi200 made their first contribution in #4741
- @wwwfeng made their first contribution in #4726
Full Changelog: Compare v1.8.2...v1.8.3