mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-08 15:39:59 +08:00
The swagger generation code already contains the fix for array definitions with useDefinitions=true (from PR #5216). The fix ensures that when arrays contain structs, the $ref is placed inside items rather than at the schema level. However, the example swagger files were not regenerated after the fix, so they still showed the old incorrect structure. This commit regenerates the example files to reflect the corrected behavior. Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com>
59 KiB
59 KiB