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
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
me-cs
06502d1115
update:optimize slice find and Unquote func ( #5108 )
2025-09-07 00:41:45 +00: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
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
Kevin Wan
f037bf344d
chore: add more tests ( #4930 )
2025-06-08 22:08:04 +08: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
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
kesonan
c3820a95c1
release goctl swagger ( #4829 )
2025-05-04 06:05:41 +00:00
Rankgice
52078a0c14
Fix the issue of generating swagger @doc "xxx" that fails, and use th… ( #4816 )
...
Co-authored-by: lxr <qiyuechuqi@an-idear.com >
2025-05-02 07:06:03 +00:00
kesonan
15ea07aad1
goctl: support custom swagger authentication ( #4811 )
2025-04-27 15:43:37 +00:00
shaouai
98bebbc74f
feat(swagger): allow users to specify the generated swagger file name ( #4809 )
2025-04-27 15:34:52 +00:00
kesonan
812140ba36
fix: goctl swagger missing security definition and submit json body data error ( #4808 )
2025-04-25 14:58:45 +00:00
kesonan
44735e949c
fix array schmea generation incorrect ( #4801 )
2025-04-23 23:59:01 +00:00
kesonan
bf313c3c56
fix: swagger separator incorrect in Windows OS ( #4799 )
2025-04-23 13:51:02 +00:00
kesonan
94e7753262
fix: the parameter "required" in the Swagger document generated for repair is incorrect ( #4791 )
2025-04-21 04:18:02 +00:00
kesonan
9c478626d2
feature/goctl-api-swagger ( #4780 )
2025-04-17 14:38:55 +00:00