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

862 Commits

Author SHA1 Message Date
tnextday
c3ff72ae77 Add support for query param array format.
exmple:

// @Param	app		query	[]string	true	support multipil app params

Update support for responses object format.
exmple:

// @Success 200 success
// @Success 200 {object} int64 success count
// @Success 200 {object} []int64 success ids
// @Success 200 {array} int64 success ids
2016-08-20 15:12:15 +08:00
tnextday
df9f5a77da Merge commit '5309c72ef751bd4edb45d1702996eb279033b281' into develop 2016-08-20 11:18:46 +08:00
tnextday
ca2f60c72d add array type support in comment param 2016-08-20 11:17:30 +08:00
astaxie
5309c72ef7 support success response array objects 2016-08-20 00:14:39 +08:00
astaxie
b5bf9d07c3 unzip to swagger while not swagger-2 2016-08-19 23:45:18 +08:00
astaxie
8bda698fce Merge branch 'master' into develop 2016-08-19 23:33:13 +08:00
astaxie
31eaaa14e7 fix: if current path is in GOPATH, create api in current path 2016-08-19 23:31:52 +08:00
astaxie
6ccd0e7d9f remove bee api default docs 2016-08-19 23:31:25 +08:00
astaxie
465b78f869 Merge branch 'master' into develop 2016-08-19 23:00:42 +08:00
astaxie
340859ea10 remove docs package 2016-08-19 23:00:08 +08:00
astaxie
84131cd77b Merge branch 'master' into develop 2016-08-19 22:49:03 +08:00
astaxie
cad9b71bbf hotfix: fix the generate from conn. 2016-08-19 22:48:21 +08:00
astaxie
31aba09751 Merge pull request #234 from sergeylanzman/refactor-migration-generate
refactor generate migration
2016-08-19 22:14:31 +08:00
Sergey Lanzman
3627eb2ddc refactor generate migration 2016-08-18 21:19:01 +03:00
Sergey Lanzman
f8447477d9 Merge pull request #1 from beego/develop
Develop update
2016-08-18 21:16:45 +03:00
astaxie
146200024c Merge pull request #214 from amrfaissal/hotfix-212
Ignore tmp/backup files while using watcher
2016-08-19 01:29:29 +08:00
astaxie
88a60a59ae Merge pull request #229 from czm1989/develop
Develop
2016-08-19 01:26:36 +08:00
astaxie
55fc8e535c Merge pull request #245 from tnextday/develop
Use first NewNamespace prefix as swagger `BasePath`
2016-08-19 00:13:23 +08:00
astaxie
54229fea6f Merge pull request #246 from qida/develop
兼容query中的日期、时间参数。
2016-08-19 00:11:52 +08:00
tnextday
b160eb35b5 Use first NewNamespace prefix as swagger BasePath 2016-08-18 23:31:09 +08:00
astaxie
42f8892a81 Merge pull request #243 from tnextday/develop
fix swagger array items crash bug
2016-08-18 23:30:34 +08:00
sunqida
cb064f68b7 兼容query中的日期、时间参数。如:query=xxTime.lt:2016-01-01T23:22:21+08:00 2016-08-18 23:25:20 +08:00
astaxie
25561408dc Merge branch 'master' into develop 2016-08-18 23:21:26 +08:00
astaxie
d54ba3291b Merge pull request #244 from qida/develop
兼容query中的日期、时间参数。
2016-08-18 23:18:37 +08:00
astaxie
18d4adcb44 Merge pull request #242 from ihippik/patch-1
Update g_docs.go
2016-08-18 23:15:36 +08:00
sunqida
424976201a 兼容query中的日期、时间参数。如:query=xxTime.lt:2016-01-01T23:22:21+08:00 2016-08-18 22:46:26 +08:00
tnextday
1e247452ff update swagger 2016-08-18 22:29:38 +08:00
sunqida
4edf273341 兼容query中的日期、时间参数。如:query=xxTime.lt:2016-01-01T23:22:21+08:00 2016-08-18 22:28:01 +08:00
tnextday
3ccffe087e update swagger array items define 2016-08-18 21:30:57 +08:00
tnextday
2f85185bcc Print warnning only if param location is wrong 2016-08-18 21:03:27 +08:00
tnextday
07df26c7b6 add param location checker in generate gocs 2016-08-18 18:21:23 +08:00
Konstantin
c08afc129e Update g_docs.go
Only you pass the model name, but do not pass the location.
Although getModel() function again trying to split ( strs := strings.Split(str, ".") ) the parameter to the location and name.
2016-08-18 12:58:36 +03:00
tnextday
985c18a314 go format 2016-08-18 17:40:59 +08:00
tnextday
ac1bf161fc generate gocs support go buildin type in comment param 2016-08-18 17:38:26 +08:00
astaxie
11571b4af2 fix beego#2016 2016-08-17 23:48:38 +08:00
astaxie
fd7742863d urlReplace all the paths 2016-08-17 08:02:21 +08:00
astaxie
20da95be6e update swagger links 2016-08-17 00:52:57 +08:00
astaxie
525d2b0901 support object ref model 2016-08-16 23:32:13 +08:00
astaxie
0e240214ad generator models 2016-08-13 14:45:12 +08:00
astaxie
743348ae1e init the maps 2016-08-08 20:48:51 +08:00
astaxie
d9f182c84f bee support swagger2.0 2016-08-08 16:44:49 +08:00
astaxie
e2cd28d5f5 Merge branch 'develop' of https://github.com/beego/bee into develop 2016-08-02 21:42:21 +08:00
astaxie
4310f5d67f Merge pull request #236 from amrfaissal/color-logger-feature
New tweaks
2016-08-02 09:34:48 +08:00
Faissal Elamraoui
f1787c5beb Reorganized imports 2016-08-01 17:50:02 +02:00
Faissal Elamraoui
00e358fc03 Added support for multiple paths GOPATH 2016-08-01 11:42:16 +02:00
Faissal Elamraoui
6bf3ea6140 Fixed bug in color writer for Windows 2016-08-01 11:41:25 +02:00
astaxie
adb346811d Merge branch 'develop' of https://github.com/beego/bee into develop 2016-08-01 14:40:46 +08:00
astaxie
083fa9fd4b swagger 2 2016-08-01 14:40:43 +08:00
astaxie
4cf209144a Merge pull request #235 from amrfaissal/new-features
New features
2016-08-01 10:04:12 +08:00
Faissal Elamraoui
338dfc65ed New tweaks
Added enhanced logging while using bee to scaffold code
Fixed some typos and errors
Added more error handling
Added more docs
2016-07-31 23:30:35 +02:00