copilot-swe-agent[bot]
03fd74b955
docs: regenerate swagger example files with fixed array definitions
...
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 >
2025-10-07 02:36:07 +00:00
Kevin Wan
cf21cb2b0b
chore: refactor to remove duplicated code ( #5216 )
2025-10-06 22:24:44 +08:00
Copilot
61e8894c31
Fix swagger generation: info block and server tags not included ( #5215 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-10-06 22:02:42 +08:00
Copilot
7a6c3c8129
Fix swagger path generation: remove trailing slash for root routes with prefix ( #5212 )
2025-10-05 12:12:03 +08:00
Rizky Ikwan
875fec3e1a
chore: fix typos ( #5210 )
2025-10-04 02:56:07 +00:00
Kevin Wan
60128c2100
chore: update goctl version ( #5205 )
2025-10-02 22:48:57 +08:00
Copilot
ce6d0e3ea7
fix(goctl/swagger): correct $ref placement in array definitions when useDefinitions is enabled ( #5199 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-10-02 22:11:18 +08:00
Copilot
271f10598f
Add complete test scaffolding support with --test flag for API projects ( #5176 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: kevwan <1918356+kevwan@users.noreply.github.com >
2025-09-27 21:13:13 +08:00
Remember
988fb9d9bf
fix: SSE handler blocking ( #5181 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-26 13:53:42 +00:00
me-cs
06502d1115
update:optimize slice find and Unquote func ( #5108 )
2025-09-07 00:41:45 +00:00
kesonan
3854d6dd00
fix array type generation error ( #5142 )
2025-09-04 13:41:15 +00:00
dependabot[bot]
895854913a
chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 in /tools/goctl ( #5141 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:35:50 +08:00
dependabot[bot]
ef753b8857
chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 in /tools/goctl ( #5147 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-04 21:28:40 +08:00
Kevin Wan
ce11adb5e4
feat: add code generation headers in safe to edit files ( #5136 )
2025-09-01 21:27:30 +08:00
Kevin Wan
894e8b1218
chore: update goctl version ( #5138 )
2025-08-31 23:37:00 +08:00
Kevin Wan
955b8016aa
feat: support goctl --module to set go module ( #5135 )
2025-08-31 16:40:49 +08:00
dependabot[bot]
d728a3b2d9
chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 in /tools/goctl ( #5124 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-31 10:51:06 +08:00
dependabot[bot]
0c205a71fc
chore(deps): bump github.com/gookit/color from 1.5.4 to 1.6.0 in /tools/goctl ( #5132 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-31 10:42:06 +08:00
dependabot[bot]
afad55045b
chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 in /tools/goctl ( #5119 )
2025-08-26 21:09:57 +08:00
geekeryy
73d6fcfccd
feat: Support projectPkg template variables in config, handler, logic, main, and svc template files ( #4939 )
2025-08-19 12:29:41 +00:00
Kevin Wan
a81d898408
chore: update go-zero version ( #5093 )
...
Signed-off-by: kevin <wanjunfeng@gmail.com >
2025-08-17 17:00:15 +08:00
kesonan
a5d42e20d5
Update goctl version to 1.9.0-alpha ( #5090 )
2025-08-15 12:08:02 +00:00
kesonan
4bdb07f225
(goctl)feature: supported sse generation ( #5082 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-15 01:49:50 +00:00
Kevin Wan
b7f601c912
feat: support sse in api files ( #5074 )
...
Signed-off-by: Kevin Wan <wanjunfeng@gmail.com >
2025-08-10 22:17:08 +08:00
me-cs
b41b1b00df
update:github.com/mongodb/mongo-go-driver v2.0 Migration ( #4687 )
2025-08-09 13:21:53 +00:00
hoshi
f36e5fed35
fear(model);add uuid:varchar to p2m ( #5022 )
...
Co-authored-by: hoshi <zheng.hao1@outlook.com >
2025-08-09 06:24:33 +00:00
Kevin Wan
9fd1f29845
chore: refactor ( #5071 )
2025-08-09 12:27:43 +08:00
Ioannis Pinakoulakis
130e1ba963
perf: pre-allocate all known length arrays to avoid re-scaling ( #5029 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com >
2025-08-08 16:03:25 +00:00
queryfast
d9df08b079
chore: fix some minor issues in comments ( #5051 )
...
Signed-off-by: queryfast <queryfast@outlook.com >
2025-08-05 04:13:44 +00:00
dependabot[bot]
b011a072c7
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 in /tools/goctl ( #5021 )
2025-07-23 09:53:42 +08:00
Kevin Wan
12e03c8843
chore: update goctl version ( #5002 )
2025-07-13 11:18:51 +08:00
Twilikiss
8cf4f95bd7
Fix POST JSON parameter determination logic (goctl api swagger) & Add some unit test. ( #4997 )
...
Co-authored-by: XiaobinChen <xiaobin.chen@corerain.com >
2025-07-13 03:07:35 +00:00
anlynn
ba0febf308
fix: Fix PostgreSQL numeric type mapping in goctl model generation ( #4992 )
...
Co-authored-by: 李安琳 <anlynn@gmail.com >
2025-07-13 02:40:16 +00:00
dependabot[bot]
017909a3ab
chore(deps): bump github.com/emicklei/proto from 1.14.1 to 1.14.2 in /tools/goctl ( #4961 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 15:40:18 +08:00
kesonan
0d31e6c375
(goctl): fix #4943 ( #4953 )
2025-06-14 15:36:30 +00:00
Kevin Wan
8364e341e1
chore: update go-zero dep ( #4933 )
...
Signed-off-by: kevin <wanjunfeng@gmail.com >
2025-06-09 18:08:20 +08:00
Kevin Wan
f037bf344d
chore: add more tests ( #4930 )
2025-06-08 22:08:04 +08:00
Kevin Wan
f459f1b5ff
chore: update goctl version ( #4929 )
2025-06-07 21:01:35 +08:00
Haiwei Zhang
0140fd417b
feat(goctl): generate mongo model with cache prefix ( #4907 )
2025-06-07 12:54:33 +00:00
jaron
7969e0ca38
fix(goctl): Fix getting swagger consume types ( #4903 )
2025-06-07 12:46:34 +00:00
kesonan
f3edd4b880
goctl: v1.8.4-beta ( #4890 )
2025-05-25 05:36:56 +00:00
me-cs
e7bd0d8b60
update:To standardize the time format, use the go standard library's own ( #4875 )
2025-05-22 15:26:53 +00:00
me-cs
4d3681b71c
Optimize slicing operations ( #4877 )
2025-05-20 11:36:02 +00:00
kesonan
45b27ad93a
goctl: 1.8.4-beta ( #4869 )
2025-05-19 15:30:50 +00:00
kesonan
91ab1f6d2b
goctl features of 1.8.4-alpha ( #4849 )
2025-05-15 13:59:48 +00:00
Kevin Wan
e55158b0f7
chore: update deps in goctl ( #4830 )
2025-05-04 16:18:02 +08:00
kesonan
c3820a95c1
release goctl swagger ( #4829 )
2025-05-04 06:05:41 +00:00
Kevin Wan
493f3bad0f
fix: allow special characters like periods in API route paths ( #4827 )
2025-05-04 11:07:43 +08:00
wwwfeng
14192050ae
fix: goctl api tsgen ( #4726 )
2025-05-02 09:15:32 +00:00
spectatorMrZ
9193e771e3
fix: pg gen model missing cache prefix ( #4788 )
...
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com >
2025-05-02 08:52:55 +00:00