Louise van der Lith
4f53288e6a
v.Fun can't always be converted to *ast.SelectorExpr. Added a check to confirm that the object is correct.
2018-01-09 10:49:57 +02:00
Sergey Lanzman
fbbb713465
Merge pull request #468 from hamidfzm/master
...
Generate multipart/form-data consumer for API doc
2017-08-18 21:21:44 +03:00
Hamid FzM
ae1f1a9bf4
Remove wrong consumer
2017-08-16 15:42:40 +04:30
Hamid FzM
2936241fe6
Update g_docs.go
2017-08-16 15:28:59 +04:30
Hamid FzM
cdec05b5e3
Generate multipart/form-data consumer for API doc
2017-08-16 14:47:07 +04:30
Givi Khojanashvili
52c8cb8b6a
Fix #438 . Fix random module matching from swagger generator.
2017-08-01 16:46:05 +03:00
astaxie
899aede629
Merge pull request #454 from scf2k/fixscan
...
Fix: docs generator skips everything containing 'vendor'
2017-07-19 00:29:40 +08:00
Vladimir Alaev
416fb2ec9d
Fix: docs generator skips everything containing 'vendor' in path which is wrong. Fixed that to skip only the 'vendor' dir directly under the project root. Also don't even scan a dir beginning with a '.'.
2017-07-12 17:23:53 +03:00
Eyal Post
0099ef2f92
support multiple http methods
2017-06-05 18:19:45 +03:00
astaxie
0000e7d7c9
gosimple
2017-05-19 09:41:47 +08:00
astaxie
bacdca6037
Merge pull request #421 from eyalpost/develop
...
Add support for controller methods with paramaters
2017-05-18 18:28:36 +08:00
astaxie
69760a96ec
Merge pull request #436 from franzwilhelm/master
...
Add complete swagger 3.0 security support for oauth2, apiKey and basic
2017-05-16 11:17:35 +08:00
franzwilhelm
fef25c2c5f
add complete swagger 3.0 security support for oauth2, apiKey and basic
...
fix len(p) handling, add support for global security
update swagger.go in vendor, fix redundant break
2017-05-14 14:38:06 +02:00
dawxy
49d791502a
Fixed an error in the basicType of pointer when the swagger document was automatically generated
2017-05-08 08:41:12 +08:00
dawxy
4ef471170e
Fixed an error in the basicType of pointer when the swagger document was automatically generated
2017-05-08 08:38:06 +08:00
guoshaowei
50ae47c61f
fix gen doc slice type bug
2017-05-05 11:31:03 +08:00
guoshaowei
3f63cd706f
fix gen doc slice type bug
2017-05-05 10:59:45 +08:00
eyalpost
65aec741fb
go fmt
2017-04-28 18:45:26 +03:00
astaxie
e1f3353511
add ineffassign check
2017-04-28 22:53:38 +08:00
eyalpost
a117a48d7b
add support for controller methods with paramaters
...
- allow automatic mapping of type from method params
- generate swagger for parameters not covered by comment annotations
2017-04-26 00:10:03 +03:00
astaxie
3daa0d2639
support go1.8 default gopath
2017-04-24 20:10:52 +08:00
Gero
1336d6b411
Fixes #401
...
Consider vendor folder when analyzing router.go parsed imports.
2017-04-13 18:10:00 +02:00
Faissal Elamraoui
09f53c0400
Fix staticcheck emtpy branch error
2017-03-15 17:44:29 +01:00
Sergey Lanzman
feea8877c0
go vet
...
go simple
golint
structcheck
staticcheck
unused
unconvert
2017-03-11 10:57:06 +02:00
Sergey Lanzman
c538bfbc8f
Refactor!
...
create sub packages
delete unused code
delete code from not use command cmdRouter,cmdTest, cmdRundocs
make command plugins
check with gosimple,staticcheck,go vet,unused,unconvert
2017-03-10 11:48:26 +02:00