guangwu
76a7a17e57
typo ( #3281 )
2 years ago
Kevin Wan
e4a1b7bb39
chore: format the code ( #3243 )
2 years ago
lchjczw
9fa98c2bd3
api imports take the form of relative paths ( #3201 )
...
Co-authored-by: 李春华 <lichunhua@threesoft.cn>
2 years ago
fondoger
c22bc1c8ea
[dart-gen] Fix lists containing atomic types ( #3210 )
2 years ago
guangwu
63368d8b0c
io/ioutil deprecated ( #3217 )
2 years ago
ALMAS
774e8d1d08
feat: replaced color package to support Windows ( #3207 )
2 years ago
fondoger
3a66fc038f
[dart-gen] Fix nullable list item issue ( #3192 )
2 years ago
chensy
c0f8a58ed7
no \t to space line ( #3177 )
...
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
2 years ago
fondoger
078825b4eb
[dart-gen] Support Null-safe and omitempty json tag ( #3134 )
2 years ago
lchjczw
189e9bd9da
Fix the problem of package name for generated kt code. ( #3082 )
...
Co-authored-by: 李春华 <lichunhua@threesoft.cn>
2 years ago
anqiansong
1904af2323
feat(goctl): Support gateway sample generation ( #3049 )
2 years ago
Kevin Wan
9065eb90d9
chore: coding style ( #3074 )
2 years ago
anqiansong
50bc361430
feat(goctl): Add api parser ( #2585 )
2 years ago
Snake
a561048d59
Fix bug: replace int and float with num type in dart ( #3042 )
...
Co-authored-by: zhoumingji <zhoumingji@cmsr.chinamobile.com>
2 years ago
Snake
e136deb3a7
Update goclt dart gen: Add scheme config and content-type header ( #2987 )
...
Co-authored-by: zhoumingji <zhoumingji@cmsr.chinamobile.com>
2 years ago
zhoumingji
ba71964b16
Fix bug in dartgen: The property 'isEmpty' can't be unconditionally accessed because the receiver can be 'null'
2 years ago
zhoumingji
97ada59175
Fix bug in dartgen: Increase the processing logic when route.RequestType is empty
2 years ago
cui fliter
b41ccc5992
fix functiom name
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
tanglihao
a40d8b0684
fix code format style use const config.DefaultFormat
2 years ago
anqiansong
0e040ec5b4
remove unused code
2 years ago
anqiansong
4bc1b78a91
Fix #2879
2 years ago
Kevin Wan
03fe036204
chore: reformat code ( #2903 )
2 years ago
anqiansong
03d073a884
feat: Add request.ts ( #2901 )
...
* Add request.ts
* Update comments
* Refactor request filename
2 years ago
fondoger
32e3116ee3
Fix bug in dart api gen: path parameter is not replaced
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
Xiaoju Jiang
413ee919e6
support custom maxBytes in API file ( #2822 )
2 years ago
Kevin Wan
ae87114282
chore: change interface{} to any ( #2818 )
...
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
2 years ago
chensy
8157e2118d
fix: replace goctl ExactValidArgs to MatchAll ( #2759 )
...
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
2 years ago
Kevin Wan
ec7ac43948
chore: reorg imports ( #2745 )
...
* chore: reorg imports
* chore: format code
2 years ago
chowyu12
c4f8eca459
Feat update rootpkg ( #2718 )
...
* add go-grpc_opt and go_opt for grpc new command
* feat: remove log when disable log
* feat: remove repeat code
Co-authored-by: zhouyy <zhouyy@ickey.cn>
2 years ago
heyehang
a644ec7edd
feature : responses whit context ( #2637 )
2 years ago
chensy
20e659749a
fix: fix conflict with the import package name ( #2610 )
...
Co-authored-by: chenjieping <chenjieping@kezaihui.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2 years ago
王哈哈
dac3600b53
Modify comment syntax error ( #2572 )
2 years ago
foliet
799c118d95
feat(goctl): better generate the api code of typescript ( #2483 )
2 years ago
bensonfx
e7acadb15d
fix #2435 ( #2442 )
...
* feat: add color to debug (#2433 )
* fix header and path type ts gen
Co-authored-by: chen quan <chenquan.dev@gmail.com>
2 years ago
Kevin Wan
1a6d7b3ef6
chore: gofumpt ( #2439 )
2 years ago
MarkJoyMa
4c927624b0
fix goctl help message ( #2414 )
2 years ago
anqiansong
9581e8445a
fix: issue #2359 ( #2368 )
...
* Revert changes
* Unrap nested structure for doc code generation
* Revert changes
* Remove useless code
* Remove useless code
* Format code
2 years ago
Kevin Wan
d935c83a54
feat: support baggage propagation in httpc ( #2375 )
...
* feat: support baggage propagation in httpc
* chore: use go 1.16
* chore: use go 1.16
* chore: use go ^1.16
* chore: remove deprecated
2 years ago
anqiansong
ce638d26d9
Hidden java ( #2333 )
2 years ago
Zlx
9d6c8f67f5
generates nested types in doc ( #2201 )
...
Co-authored-by: Link_Zhao <Link_Zhao@epam.com>
2 years ago
Kevin Wan
d20d8324e7
fix : #2216 ( #2235 )
2 years ago
fisnone
685d14e662
fix:duplicate route check ( #2154 )
...
Co-authored-by: 黄志荣 <huangzhirong@shuinfo.com>
2 years ago
anqiansong
1b51d0ce82
fix: fix #2102 , #2108 ( #2131 )
...
* g4 code generation
* Update grammar
* g4 code generation
* fix #2108
* fix #2102
* Remove comments
2 years ago
anqiansong
9c448c64ef
Update api template ( #2172 )
2 years ago
杨圆建
bc85eaa9b1
fix: goctl genhandler duplicate rest/httpx & goctl genhandler template support custom import httpx package ( #2152 )
2 years ago
Kevin Wan
1c09db6d5d
chore: coding style ( #2120 )
2 years ago
Kevin Wan
97a171441d
chore: remove blank lines ( #2117 )
...
* chore: remove blank lines
* chore: refactor
2 years ago
虫子樱桃
725e6056e1
feat:`goctl model mongo ` add `easy` flag for easy declare. ( #2073 )
...
* fix:typo in readme.md
* feat:`goctl model mongo ` add `easy` flag to generate code with Auto generated CollectionName for easy declare.
* fix:`goctl api doc ` when referenced api file contains no route,will generate an empty markdown file.
* code: adjust code.
Co-authored-by: 虫子樱桃 <czyt@w.cn>
2 years ago
Kevin Wan
e0e3f97c7c
chore: refactor ( #2087 )
2 years ago