go-zero/tools/goctl/api
fondoger 5756627904
Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887)
* Fix bug in dartgen: Import path should match the generated api filename

* Use Route.HandlerName as generated dart API function name

Reasons:
- There is bug when using url path name as function name, because it may have invalid characters such as ":"
- Switching to HandlerName aligns with other languages such as typescript generation

* [DartGen] Add ability to generate api for url path parameters such as /path/:param
2023-02-16 15:19:46 +08:00
..
apigen feat: Replace cli to cobra (#1855) 2022-05-07 15:40:11 +08:00
dartgen Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887) 2023-02-16 15:19:46 +08:00
docgen chore: gofumpt (#2439) 2022-09-22 22:40:01 +08:00
format feat: support baggage propagation in httpc (#2375) 2022-09-10 15:18:52 +08:00
gogen support custom maxBytes in API file (#2822) 2023-01-29 10:43:00 +08:00
javagen chore: change interface{} to any (#2818) 2023-01-24 16:32:02 +08:00
ktgen feat: Replace cli to cobra (#1855) 2022-05-07 15:40:11 +08:00
new feat: Replace cli to cobra (#1855) 2022-05-07 15:40:11 +08:00
parser chore: change interface{} to any (#2818) 2023-01-24 16:32:02 +08:00
spec chore: change interface{} to any (#2818) 2023-01-24 16:32:02 +08:00
tsgen chore: reorg imports (#2745) 2023-01-03 22:26:45 +08:00
util refactor: rename from tal-tech to zeromicro for goctl (#1481) 2022-01-25 23:15:07 +08:00
validate feat: Replace cli to cobra (#1855) 2022-05-07 15:40:11 +08:00
cmd.go fix: replace goctl ExactValidArgs to MatchAll (#2759) 2023-01-07 17:07:40 +08:00