1
0
mirror of https://github.com/beego/bee.git synced 2025-06-10 11:40:39 +00:00
Commit Graph

86 Commits

Author SHA1 Message Date
7ee363657f upgrade Beego to v2.0.3 2022-05-23 21:55:10 +08:00
50ffa7ed8c fix struct comment 2022-04-24 19:22:39 +08:00
ee7b335232 Merge pull request from jackywu/develop
fixbug: ignore tag did not works; set property type to the second tag…
2021-06-28 21:01:24 +08:00
0a690decfb Merge pull request from LnZd/feature/analyse-import-pkg
search package from import paths, while missing type object
2021-02-09 20:11:41 +08:00
9428a53176 fix test case 2021-02-07 10:54:57 +08:00
824fa639f0 add more test case 2021-02-07 10:47:42 +08:00
637637efb2 add copyright comment 2021-02-06 20:32:17 +08:00
d995fc5328 add unit test 2021-02-06 20:10:12 +08:00
02a66c7bd7 change log level 2021-02-06 19:44:32 +08:00
9541046a29 load package from ouside of the project 2021-02-05 09:44:52 +08:00
d0bc4f76fc Merge branch 'develop' into fix-required-tag 2021-01-28 19:48:23 +08:00
100f0af03a Merge branch 'develop' into feature/analyse-import-pkg 2021-01-28 19:45:53 +08:00
06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
cdb41fad3f using beego v2 2020-12-14 13:08:47 +08:00
9d68c302bd Using beego/beego 2020-12-14 00:47:33 +08:00
f2a93c8c75 using beego to rerwite all commands 2020-11-05 23:57:37 +08:00
d496d26a1c revert:修复了自定义map结构的显示 2020-08-27 14:53:32 +08:00
c0d29b0d2a 修复了自定义map结构的显示 2020-08-27 14:23:02 +08:00
b45ded3355 添加自定义的对象显示类型 2020-08-26 17:22:57 +08:00
2c673b7d1e support interface type 2020-08-26 11:17:09 +08:00
53b0b68d00 使得function的Description头也可以直接多行注释 2020-08-24 10:48:59 +08:00
2862ff48db 对@Description支持多行描述 2020-08-12 16:14:23 +08:00
b56b3794e4 fixbug: ignore tag did not works; set property type to the second tag value only if it is not omitempty and isBasicType 2020-08-12 10:19:09 +08:00
c562cedf96 Internalize parsePackagesFromDir() 2020-08-01 16:24:26 +08:00
e0ada8860d Use go/build to resolve package path for bee generate docs 2020-08-01 16:24:26 +08:00
4158ab284e use go env check project is go mod or not. 2020-07-11 14:06:10 +08:00
bb5e0435c9 Merge pull request from guhan121/develop
generate go module project
2020-06-28 22:27:39 +08:00
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
a780721c88 Merge pull request from lyfunny/develop
gendoc bug
2020-06-23 21:56:47 +08:00
8357e26a9f fix warning 2019-05-28 16:55:07 +08:00
81ed8514be search package from import paths, while missing type object 2019-05-28 15:45:26 +08:00
f694778078 Fix required struct tag 2019-05-27 08:02:30 +08:00
521e9a3bc0 [Fix] Fix swagger docs missing schema attr for primitive body type @Param annotation 2019-04-10 23:32:55 +08:00
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
9f600ccb45 Merge branch 'develop' of https://github.com/beego/bee into develop 2019-01-15 11:57:55 +08:00
ab854cc874 Update g_docs.go
bug fix
2019-01-08 12:04:02 +08:00
22af6cc712 Fix staticcheck failed - cutset contains duplicate characters (SA1024) 2019-01-08 01:07:11 +07:00
f2696160ae Fix staticcheck failed - error strings should not be capitalized (ST1005) 2019-01-08 01:04:40 +07:00
d63a5eb53d Fix badly created definition names 2018-10-06 23:18:32 +02:00
b05f8ace9e update dep 2018-07-22 11:59:24 +08:00
50e2cfbcbd Merge branch 'master' into develop 2018-07-21 23:03:47 +08:00
f496e0f36f Merge pull request from wilhelmguo/master
fix *time.Time type parse error.
2018-07-21 22:29:20 +08:00
7b2e95e9bd Fix docs generator to handle cases when var is passed to NSInclude() 2018-07-09 18:21:57 +03:00
bb68873f45 fix *time.Time type parse error. 2018-05-10 14:37:03 +08:00
5c1ee91097 Merge pull request from coseyo/bugfix_path
fix api path contain regex string bug
2018-04-20 16:52:15 +08:00
cb47a5a5fe fix api path contain regex string bug 2018-03-23 14:29:39 +08:00
c23138b457 Added support for ArrayType type definition. 2018-03-16 13:34:54 +08:00
611eecc204 Made the example value for enum type sensitive. 2018-03-15 18:05:37 +08:00
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
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