olegdemchenko
5dd70f1e44
policies implementation
2016-09-28 21:21:50 +03:00
astaxie
29c9e1bab7
fix the map type generate
2016-09-22 23:04:58 +08:00
astaxie
205428abce
fix the licence issue
2016-09-22 22:26:39 +08:00
Sergey Lanzman
1b75ccb9fe
Improve swagger (Main params,yaml
2016-09-15 00:09:54 +03:00
astaxie
eb64d25e4a
Merge pull request #264 from beego/master
...
Develop update
2016-08-30 00:15:44 +08:00
Sergey Lanzman
004778c662
swagger add embedded struct
2016-08-29 11:04:47 +02:00
Konstantin
7e60509231
Separate and add @Description with @Summary params
...
@Description -> is "descriptions" in swagger
@Summary -> is "summary" in swagger
this different options.
2016-08-25 19:32:39 +03:00
astaxie
28f6abc3a0
merge master
2016-08-24 11:07:57 +08:00
astaxie
f813e990c0
hotfix: schema init
2016-08-24 10:54:54 +08:00
tnextday
07ca4481b0
add todo
2016-08-22 16:11:06 +08:00
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
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