1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-27 10:10:50 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
WUMUXIAN
09b073356d Swagger:
1. Allow example value to be given based on the field type, previously it's a string.
2. Allow to give example values for Enum values.

This is for the beego/bee pull request to work well.
2018-03-10 17:15:24 +08:00
ilylia
4018693fbd add Enum field to Schema 2017-11-13 14:36:08 +08:00
hemin
0ce70b8c99 remove omitempty for swagger.Response.Description, because it's Required according to Swagger2.0 Spec 2017-10-18 22:34:24 +08:00
franzwilhelm
c814893d65 add support for global security 2017-05-14 12:13:35 +02:00
franzwilhelm
40bc52b844 fix security struct placement and formatting 2017-05-14 00:42:09 +02:00
astaxie
a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
Zhang Qiang
ef3655877a swagger: add 'Default' for Parameter 2016-11-03 22:59:23 +08:00
Konstantin
b151a9616e Default values 2016-10-08 11:28:47 +03:00
Sergey Lanzman
e53c147129 improve Swagger
1. Add yaml
2. Fix typo scurity => security
3. Make license optional
2016-09-15 00:15:02 +03:00
Sergey Lanzman
da0e6e790d Update swagger.go 2016-09-14 23:36:38 +03:00
tnextday
7253ff2f8c update schema define 2016-08-20 15:03:41 +08:00
tnextday
715c2c4312 Merge commit 'efbde1ee77517486eac03e814e01d724ddad18e6' into develop 2016-08-20 11:22:17 +08:00
tnextday
9224cd3ef7 add ParameterItems in Parameter 2016-08-20 11:22:03 +08:00
astaxie
efbde1ee77 add *Item into Schema 2016-08-19 23:52:19 +08:00
tnextday
ffd748bf75 update swagger 2016-08-18 22:26:15 +08:00
tnextday
1c54ff27c4 update swagger define 2016-08-18 21:24:54 +08:00
astaxie
1b4f30e11e update swagger 2016-08-13 14:43:56 +08:00
astaxie
957db1362f update swagger definistion 2016-08-08 16:45:11 +08:00
astaxie
881d010c01 upgrade swagger from 1.2 to 2.0 2016-04-11 11:56:43 +08:00
astaxie
9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00
JessonChan
814e4ac031 rename the docsSepc to docs_spec 2016-01-15 14:14:09 +08:00
astaxie
a289b08e64 golint swagger 2015-09-12 23:15:23 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
67be7b532d beego:doc move to swagger 2014-06-18 10:36:20 +08:00