1
0
mirror of https://github.com/beego/bee.git synced 2024-11-01 10:10:55 +00:00
Commit Graph

934 Commits

Author SHA1 Message Date
Codeb Fan
cd82742af9 Support extra args to run application. 2018-06-26 18:07:49 +08:00
Medicean
25063a62c4 fix bee.json & Beefile watch_ext doesn't work 2018-06-11 18:01:35 +08: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
qida
c1896dd4cf
Update ignoredFilesRegExps
解决了在执行 `bee run -gendoc=true` 时,更新`commentsRouter_controllers.go`文件导致多次触发"build"的bug。
2018-03-27 15:08:24 +08:00
zhongyijun
cb47a5a5fe fix api path contain regex string bug 2018-03-23 14:29:39 +08:00
astaxie
b0432d7c04
Merge pull request #514 from WUMUXIAN/develop
Swagger docs generation improvement.
2018-03-18 13:43:29 +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
astaxie
be6186155f
Merge pull request #513 from WUMUXIAN/develop
Swagger Enum Fix:
2018-03-13 16:51:32 +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
astaxie
3469f0ae4c
Merge pull request #512 from WUMUXIAN/features/swagger-example-enum-support
Swagger: Enum improvement, example value improvement.
2018-03-11 10:49:57 +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
astaxie
b2087846ab
Merge pull request #500 from amrfaissal/fix-travisci-badge
Fixes TravisCI badge
2018-01-01 18:39:40 +08:00
astaxie
d23d3e5bfb
Merge pull request #502 from terryding77/fix/uint_default_value_in_swagger_json
fix issue #501
2017-12-30 13:54:44 +08:00
lixz
5ba8b15e3a
Update watch.go
在window编译linux后,bee run 执行的appname为linux的可执行文件
2017-12-29 17:09:02 +08:00
Terry Ding
d70cedc7de fix issue #501 2017-12-28 00:47:14 +08:00
Faissal Elamraoui
418230b131 Fix TravisCI badge 2017-12-21 17:30:50 +01:00
xhzhang
fdf0e9c768 feat: support bee workspace specify
support bee workspace specify instead of current path only
2017-12-21 23:32:40 +08:00
ansiz
1937c6ddb7
Merge pull request #1 from beego/master
update from origin
2017-12-21 23:31:51 +08:00
astaxie
4ab8b8e30e bee 1.9.1 2017-11-27 15:51:51 +08:00
astaxie
bfeaf6c8df
Merge pull request #490 from skOak/develop
add swagger spec support for struct embedded field
2017-11-21 11:43:33 +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
astaxie
e75824f797
Merge pull request #488 from ilylia/develop
support enum, except iota and type inference.
2017-11-19 11:17:39 +08:00
ilylia
4711873e25 support enum, except iota and type inference. 2017-11-13 14:29:44 +08:00
astaxie
d8cb6ff47f Merge pull request #481 from guihaojin/feature/custom-model-name
Code cleanup, remove redundant selectedTables/selectedTableNames
2017-10-23 06:52:27 -05:00
Haojin Gui
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
Haojin Gui
f8e9f67ae6 Add empty line. 2017-10-20 23:32:13 -07:00
Faissal Elamraoui
b94b47d7d5 Merge pull request #483 from TankTheFrank/feature/refresh-browser-on-build
Refresh browser page after binary builds
2017-10-19 15:16:45 +02:00
TankTheFrank
c34cb05355 after build the browser is refreshed 2017-10-19 14:23:08 +03:00
qida
9dc796dc1e Merge pull request #1 from beego/master
Merge
2017-10-07 09:46:16 +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
astaxie
65e995ca17 Merge pull request #476 from soonick/master
Only import the correct driver when doing a migration. Fixes #447
2017-09-25 13:00:32 +08:00
Adrian Ancona Novelo
52e3087bb4 Only import the correct driver when doing a migration. Fixes #447 2017-09-25 10:48:08 +08:00
astaxie
e90da8f77b Merge pull request #474 from beego/develop
v1.9.1
2017-09-14 08:16:02 +08:00
asta xie
ceefd74c9b v1.9.1 2017-09-12 21:23:20 +08: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
Sergey Lanzman
0405523d35 Merge pull request #462 from gigovich/develop
Fix #438. Fix random module matching from swagger generator.
2017-08-11 22:18:29 +03:00
astaxie
b8040300b6 Merge pull request #464 from liusy182/patch-1
Do no omit response description
2017-08-06 22:40:20 +08:00
Liu Siyuan
0a42575490 Do no omit response description
[swagger specs](https://swagger.io/docs/specification/describing-responses/) requires each response to have a description. Otherwise, ignorable error will be generated. This PR makes sure that description field is not omitted in the event that user did not give a description.
2017-08-03 17:32:46 +08:00
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
zhangyanzhe
d0b3ede4ec array format 2017-07-19 15:38:04 +08:00