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

99 Commits

Author SHA1 Message Date
7d78224b99 Remove redundant selectedTables.
When selectedTables is not nil, we are already generating tables
from it. So we don't need to pass it further.
2017-10-20 23:32:13 -07:00
a5cddac554 Fix docs generator to ignore all child folders of the vendor folder within project dir 2017-10-04 16:54:05 +03:00
fbbb713465 Merge pull request from hamidfzm/master
Generate multipart/form-data consumer for API doc
2017-08-18 21:21:44 +03:00
ae1f1a9bf4 Remove wrong consumer 2017-08-16 15:42:40 +04:30
2936241fe6 Update g_docs.go 2017-08-16 15:28:59 +04:30
cdec05b5e3 Generate multipart/form-data consumer for API doc 2017-08-16 14:47:07 +04:30
52c8cb8b6a Fix . Fix random module matching from swagger generator. 2017-08-01 16:46:05 +03:00
58bfa5c1ec array format 2017-07-19 15:49:54 +08:00
d0b3ede4ec array format 2017-07-19 15:38:04 +08:00
2b04261f9c array format 2017-07-19 14:47:19 +08:00
254174eda6 array format 2017-07-19 14:42:46 +08:00
3b3da1655d Merge pull request from qida/develop
读取 ref(pk) 值
2017-07-19 00:31:29 +08:00
d29f8e8ec3 Merge pull request from hudangwei/develop
fix  only get these tables information in custom the option ‘-tab…
2017-07-19 00:30:54 +08:00
899aede629 Merge pull request from scf2k/fixscan
Fix: docs generator skips everything containing 'vendor'
2017-07-19 00:29:40 +08:00
552111517e Revert "Update: complementary fix for removing calling ddlSpec on migration"
The odds of getting this perfectly up is not good.

This reverts commit 3673659178.
2017-07-16 08:13:08 +05:30
3673659178 Update: complementary fix for removing calling ddlSpec on migration
file.

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-16 07:25:36 +05:30
042a4cf244 Update: fixing switch statement
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-13 21:24:53 +05:30
ea63bf253e UPDATE: creating ddl migration spec is now possible
SUMMARY: The DDL migration can now be generated by adding a `-ddl` and a
proper "alter" or "create" as argument value.

Migration generation had been modified to accommodate the complementary
code for ddl generation

Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
2017-07-13 20:30:06 +05:30
416fb2ec9d Fix: docs generator skips everything containing 'vendor' in path which is wrong. Fixed that to skip only the 'vendor' dir directly under the project root. Also don't even scan a dir beginning with a '.'. 2017-07-12 17:23:53 +03:00
5c3807e29a Merge remote-tracking branch 'remotes/beego/develop' into develop 2017-06-08 20:31:10 +08:00
0099ef2f92 support multiple http methods 2017-06-05 18:19:45 +03:00
681fc57e16 读取 ref(pk) 值 2017-06-05 09:34:38 +08:00
812b8c4e5b if tag.Comment is empty, the ORM tag string will not contain description 2017-05-30 19:43:40 +08:00
f5471680e4 fix tag description,add tag description by getting database table information column comment 2017-05-30 16:21:45 +08:00
b4bee5cceb Added MySQL year data type 2017-05-29 15:48:57 -03:00
f657d22fc7 fix tag description,add tag description by getting database table information column comment 2017-05-26 13:30:28 +08:00
8b01334faf fix only get these tables information in custom the option ‘-tables’ 2017-05-20 13:06:25 +08:00
0000e7d7c9 gosimple 2017-05-19 09:41:47 +08:00
bacdca6037 Merge pull request from eyalpost/develop
Add support for controller methods with paramaters
2017-05-18 18:28:36 +08:00
69760a96ec Merge pull request from franzwilhelm/master
Add complete swagger 3.0 security support for oauth2, apiKey and basic
2017-05-16 11:17:35 +08:00
fef25c2c5f add complete swagger 3.0 security support for oauth2, apiKey and basic
fix len(p) handling, add support for global security

update swagger.go in vendor, fix redundant break
2017-05-14 14:38:06 +02:00
49d791502a Fixed an error in the basicType of pointer when the swagger document was automatically generated 2017-05-08 08:41:12 +08:00
4ef471170e Fixed an error in the basicType of pointer when the swagger document was automatically generated 2017-05-08 08:38:06 +08:00
50ae47c61f fix gen doc slice type bug 2017-05-05 11:31:03 +08:00
3f63cd706f fix gen doc slice type bug 2017-05-05 10:59:45 +08:00
65aec741fb go fmt 2017-04-28 18:45:26 +03:00
e1f3353511 add ineffassign check 2017-04-28 22:53:38 +08:00
a117a48d7b add support for controller methods with paramaters
- allow automatic mapping of type from method params
- generate swagger for parameters not covered by comment annotations
2017-04-26 00:10:03 +03:00
e84d6f9a9c use filepath to generate appcode 2017-04-24 21:06:31 +08:00
3daa0d2639 support go1.8 default gopath 2017-04-24 20:10:52 +08:00
db57fa50a0 fix 2017-04-19 23:51:12 +08:00
593ef9c47c Revert "Develop" 2017-04-19 23:02:57 +08:00
07ca21401c Merge pull request from qida/develop
Develop
2017-04-18 20:32:26 +08:00
3b0dd10302 windows下路径问题 2017-04-18 14:36:32 +08:00
a353b6d69a 增加关联查询 2017-04-18 14:34:24 +08:00
1336d6b411 Fixes
Consider vendor folder when analyzing router.go parsed imports.
2017-04-13 18:10:00 +02:00
09f53c0400 Fix staticcheck emtpy branch error 2017-03-15 17:44:29 +01:00
feea8877c0 go vet
go simple
golint
structcheck
staticcheck
unused
unconvert
2017-03-11 10:57:06 +02:00
c538bfbc8f Refactor!
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00