1
0
mirror of https://github.com/beego/bee.git synced 2024-11-25 04:40:54 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Ming Deng
0a690decfb
Merge pull request #606 from LnZd/feature/analyse-import-pkg
search package from import paths, while missing type object
2021-02-09 20:11:41 +08:00
John
02a66c7bd7 change log level 2021-02-06 19:44:32 +08:00
John
9541046a29 load package from ouside of the project 2021-02-05 09:44:52 +08:00
John
d0bc4f76fc
Merge branch 'develop' into fix-required-tag 2021-01-28 19:48:23 +08:00
John
100f0af03a
Merge branch 'develop' into feature/analyse-import-pkg 2021-01-28 19:45:53 +08:00
Ming Deng
06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
Ming Deng
cdb41fad3f using beego v2 2020-12-14 13:08:47 +08:00
Ming Deng
9d68c302bd Using beego/beego 2020-12-14 00:47:33 +08:00
Ming Deng
f2a93c8c75 using beego to rerwite all commands 2020-11-05 23:57:37 +08:00
Hanjiang Yu
c562cedf96 Internalize parsePackagesFromDir() 2020-08-01 16:24:26 +08:00
Hanjiang Yu
e0ada8860d Use go/build to resolve package path for bee generate docs 2020-08-01 16:24:26 +08:00
qiantao
4158ab284e use go env check project is go mod or not. 2020-07-11 14:06:10 +08:00
askuy
bb5e0435c9
Merge pull request #674 from guhan121/develop
generate go module project
2020-06-28 22:27:39 +08:00
qiantao
9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
askuy
a780721c88
Merge pull request #573 from lyfunny/develop
gendoc bug
2020-06-23 21:56:47 +08:00
John
8357e26a9f fix warning 2019-05-28 16:55:07 +08:00
John
81ed8514be search package from import paths, while missing type object 2019-05-28 15:45:26 +08:00
John
f694778078 Fix required struct tag 2019-05-27 08:02:30 +08:00
Yang, Gao
521e9a3bc0 [Fix] Fix swagger docs missing schema attr for primitive body type @Param annotation 2019-04-10 23:32:55 +08:00
Joseph Edwards Van Riper III
384d46897b
Fix for projects with 'tests' in path
Projects with the string 'tests' in their path cannot document their models properly in swaggergen.  The comment says the 'tests' subfolder within the dirpath should be excluded, but the test was for the full path.  This should fix the discrepancy.
2019-02-12 08:23:17 -05:00
LiuYang
9f600ccb45 Merge branch 'develop' of https://github.com/beego/bee into develop 2019-01-15 11:57:55 +08:00
LiuYang
ab854cc874 Update g_docs.go
bug fix
2019-01-08 12:04:02 +08:00
Tavee Khunbida
22af6cc712 Fix staticcheck failed - cutset contains duplicate characters (SA1024) 2019-01-08 01:07:11 +07:00
Tavee Khunbida
f2696160ae Fix staticcheck failed - error strings should not be capitalized (ST1005) 2019-01-08 01:04:40 +07:00
Franz von der Lippe
d63a5eb53d Fix badly created definition names 2018-10-06 23:18:32 +02:00
astaxie
b05f8ace9e update dep 2018-07-22 11:59:24 +08:00
astaxie
50e2cfbcbd Merge branch 'master' into develop 2018-07-21 23:03:47 +08:00
astaxie
f496e0f36f
Merge pull request #526 from wilhelmguo/master
fix *time.Time type parse error.
2018-07-21 22:29:20 +08:00
Vladimir Alaev
7b2e95e9bd Fix docs generator to handle cases when var is passed to NSInclude() 2018-07-09 18:21:57 +03:00
guoshaowei
bb68873f45 fix *time.Time type parse error. 2018-05-10 14:37:03 +08:00
astaxie
5c1ee91097
Merge pull request #515 from coseyo/bugfix_path
fix api path contain regex string bug
2018-04-20 16:52:15 +08:00
zhongyijun
cb47a5a5fe fix api path contain regex string bug 2018-03-23 14:29:39 +08:00
WUMUXIAN
c23138b457 Added support for ArrayType type definition. 2018-03-16 13:34:54 +08:00
Muxian Wu
611eecc204 Made the example value for enum type sensitive. 2018-03-15 18:05:37 +08:00
Muxian Wu
685c16d5eb Swagger Enum Fix:
1. For now the type inference is not supported, they will be skipped.
2. The enums in the documentation will be listed based on it's position.
3. Be able to support multiple values defined.
2018-03-12 15:52:00 +08:00
WUMUXIAN
d217d0b85c Swagger:
1. Improve the enum support, the enum will be in a format of "enum_name = enum_value"
2. An example value will be automatically generated.
3. Example is disabled for slice field.
2018-03-10 17:35:59 +08:00
astaxie
4ca7777c32
Merge pull request #505 from louisevanderlith/master
Convert error on Swagger Generate
2018-01-18 12:15:58 +08:00
Louise van der Lith
4f53288e6a v.Fun can't always be converted to *ast.SelectorExpr. Added a check to confirm that the object is correct. 2018-01-09 10:49:57 +02:00
Terry Ding
d70cedc7de fix issue #501 2017-12-28 00:47:14 +08:00
hemin
363abeeae2 add swagger spec support for struct embedded field 2017-11-20 16:36:27 +08:00
astaxie
76a4feb17e
Merge pull request #458 from BusterMachine7/master
array的格式
2017-11-19 11:20:07 +08:00
astaxie
2265bfb0ff
Merge pull request #479 from scf2k/vendor-scan
Fix docs generator to ignore all child folders of the vendor folder
2017-11-19 11:18:32 +08:00
ilylia
4711873e25 support enum, except iota and type inference. 2017-11-13 14:29:44 +08:00
Vladimir Alaev
a5cddac554 Fix docs generator to ignore all child folders of the vendor folder within project dir 2017-10-04 16:54:05 +03:00
Sergey Lanzman
fbbb713465 Merge pull request #468 from hamidfzm/master
Generate multipart/form-data consumer for API doc
2017-08-18 21:21:44 +03:00
Hamid FzM
ae1f1a9bf4 Remove wrong consumer 2017-08-16 15:42:40 +04:30
Hamid FzM
2936241fe6 Update g_docs.go 2017-08-16 15:28:59 +04:30
Hamid FzM
cdec05b5e3 Generate multipart/form-data consumer for API doc 2017-08-16 14:47:07 +04:30
Givi Khojanashvili
52c8cb8b6a Fix #438. Fix random module matching from swagger generator. 2017-08-01 16:46:05 +03:00
zhangyanzhe
58bfa5c1ec array format 2017-07-19 15:49:54 +08:00