Ming Deng
650fde66aa
Revert "Merge pull request #4254 from astaxie/develop-2.0"
...
This reverts commit e284b0ddae
, reversing
changes made to 8ef8fd2606
.
2020-11-26 17:48:29 +08:00
Ming Deng
b4a85c8f13
Remove files
2020-08-16 23:09:19 +08:00
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