Commit Graph

8 Commits (cb3ffc76a3e3014eadbca4a389f9801177766d8b)

Author SHA1 Message Date
zhoumingji 97ada59175 Fix bug in dartgen: Increase the processing logic when route.RequestType is empty 2 years ago
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
2 years ago
Fyn 6a66dde0a1
feat(goctl): api dart support flutter v2 (#1603)
0. support null-safety code gen
1. supports -legacy flag for legacy code gen
2. supports -hostname flag for server hostname
3. use dart official format
4. fix some some bugs

Resolves: #1602
3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
kingxt 2b07f22672
optimize code (#417)
* optimize code

* optimize code

* optimize code

* optimize code
4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kim 121323b8c3 goctl added 4 years ago