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

59 Commits

Author SHA1 Message Date
astaxie
55fc8e535c Merge pull request #245 from tnextday/develop
Use first NewNamespace prefix as swagger `BasePath`
2016-08-19 00:13:23 +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
tnextday
1e247452ff update swagger 2016-08-18 22:29:38 +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
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
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
Sergey Lanzman
bc963e0070 go lint 2016-07-23 02:05:01 +03:00
astaxie
76eb064e69 Merge pull request #128 from itcbx/patch-1
修改生成文档时,@Success 第三个参数解析错误的问题
2016-03-03 10:00:56 +08:00
astaxie
0acdf2e816 fix the rename in beego 2016-01-15 14:45:56 +08:00
astaxie
0ee483de97 fix the typo 2016-01-06 13:59:49 +08:00
astaxie
807c3de8a7 fix issue with new version 2016-01-06 11:55:56 +08:00
Pelle Johnsen
faaa3320bc Update to match changes in beego develop branch
Mainly changes casing: Api > API and Url > URL
2015-09-22 14:53:43 +02:00
itcbx
d7b23aa54f 修改生成文档时,@Sucess 第三个参数解析错误的问题
原来的代码,当第三个参数有多个空格时,比如
// @Success 200 {string} delete success!
第三个参数会解析成success!,即会忽略第一个空格前的单词,修改后,可以正常解析。
2015-08-29 15:14:21 +08:00
simsun
f50dce1d52 make docs works when EnableDocs = false 2015-07-01 23:55:13 +08:00
Lei Cao
a1fe5bf010 Using local package name for renamed packages. 2015-05-14 15:56:19 +08:00
astaxie
52d6031795 Merge pull request #75 from jmsegrev/master
Fix for api docs generate bug
2015-05-09 14:41:37 +08:00
astaxie
27fecfbe75 support ignore struct not show 2015-01-03 21:17:59 +08:00
TossPig
5e39150996 go1.4源码目录变更 2014-12-15 15:13:53 +08:00
TossPig
e47516cd15 补上BasePath
还有个根路径
2014-11-20 02:14:04 +08:00
砼砼
06e5d94806 添加常量Rootinfo和Subapi
修改rootinfo和subapi,为常量并为可导出
2014-11-20 01:17:43 +08:00
juan
9d2067e66e Fix of api docs gen bug on object description of structs with anonymous fields
Added json:"-" as omitter on api docs gen of struct field for object description
Avoid use json:"omitempty" on api docs gen as object description field name
2014-10-22 11:00:10 -04:00
astaxie
e667c0fdaa fix the struct type for []Type 2014-09-05 00:09:35 +08:00
astaxie
61e13f70be fix the generate docs when route has system packages 2014-09-04 22:35:30 +08:00
astaxie
50dfe40b94 bee api create a new api from database 2014-08-09 00:55:55 +08:00
astaxie
9608df56f0 Merge branch 'master' of https://github.com/beego/bee 2014-08-01 23:42:19 +08:00
astaxie
4305da2f3f fix analisys bug 2014-08-01 23:40:48 +08:00
ZhengYang
5a2394d76a move generateCode.Run() to g.go 2014-08-01 16:04:09 +08:00
sandysong
9b8caf74be 修正Model循环引用导致generate死循环的问题 2014-07-07 18:06:02 +08:00
astaxie
aa92fc4854 bee 1.1.2 2014-06-24 12:06:45 +08:00
astaxie
5493f00cd0 fix the typo 2014-06-23 23:16:06 +08:00
astaxie
763382e4ce update the filter for URL 2014-06-23 23:10:17 +08:00
astaxie
6181668e0a required description 2014-06-23 22:21:13 +08:00
astaxie
b13c2068a9 support tag beedoc to support required 2014-06-23 22:00:57 +08:00
astaxie
33eaf8c2b7 bee: update other type 2014-06-23 21:38:19 +08:00
astaxie
2be298dd8e bee: update the generate circle 2014-06-23 21:25:12 +08:00
root
c67b4e5eae support multi-models 2014-06-21 13:27:12 +00:00
astaxie
7a5985d509 trimspace @router 2014-06-20 19:49:43 +08:00
astaxie
6bcf78a885 support all Space unicode for the comments 2014-06-20 19:47:03 +08:00