Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/swaggo/swag
Automatically generate RESTful API documentation with Swagger 2.0 for Go.
https://github.com/swaggo/swag
622e07249cd59c1ae3b55c2b1ea5dfadd1ee36fe authored almost 6 years ago by pei <[email protected]>
c9cee454364362a4691c2e9f8c72cd7998aea2c7 authored almost 6 years ago by pei <[email protected]>
6163333633337f7d014b25062af32209e9ca3ccf authored almost 6 years ago by pei <[email protected]>
* Support parse definition in vendor
* Change ParseParamComment comments to example, fix build
b6a3401e9243508075ea0266ac158e8954c7579b authored almost 6 years ago by HuangWei <[email protected]>Signed-off-by: fossabot <[email protected]>
93d87f47766ec4316a73e5a55a0d9c0c138744d8 authored almost 6 years ago by fossabot <[email protected]>* feat: add cli flag for output doc.go
* feat: add output flag to specify output dir ( will o...
9161028469b1d0a63efc17c30467a5625d567ea7 authored almost 6 years ago by Eason Lin <[email protected]>c4fc75895ee768ac84f43934629a1c9321529912 authored almost 6 years ago by Eason Lin <[email protected]>
818333255fd68d655c860196c7a298f59c70e6b1 authored almost 6 years ago by Eason Lin <[email protected]>
e98d7d16989e64bf6c1af396404cf917b88b1f0a authored almost 6 years ago by Eason Lin <[email protected]>
fe1c93870b2e0c54790024f7d9d3c3bf351c6543 authored almost 6 years ago by Eason Lin <[email protected]>
266aebcda91591bae22ba0efe7f4c919434a88b3 authored almost 6 years ago by Eason Lin <[email protected]>
4f45ba52207fc2f6af0f73e950384abef3c977d8 authored almost 6 years ago by Eason Lin <[email protected]>
Fix a minor spelling error "suppoted" -> "supported" in ParseComment.
f29f82177c958599d5f3c71b291c4108b90e9a2a authored almost 6 years ago by Jeff Katz <[email protected]>c5b05a6644e8f3569d7a340058b284c2abee9aa9 authored almost 6 years ago by jess <[email protected]>
93c4fa280f003d8efa540be37c6bbd037117c8ab authored almost 6 years ago by pindamonhangaba <[email protected]>
e60975705876192c16adf38ddbdbd9d8e1b58585 authored almost 6 years ago by Eason Lin <[email protected]>
21ed79894db368d8c3cec96c61d39d26c619b729 authored almost 6 years ago by Eason Lin <[email protected]>
aabc0566bfce01f830f8d56ee99724001504946d authored almost 6 years ago by Eason Lin <[email protected]>
ea26d9eb1eb4edad3314ca9c070d79e61e45315e authored almost 6 years ago by Eason Lin <[email protected]>
75f716dd0cc665bd4b04b8d23cc7c2426c3e4050 authored almost 6 years ago by Eason Lin <[email protected]>
a8247dc5ca8e9d866e15a9b968abfd0045a8efb8 authored almost 6 years ago by Christian Hujer <[email protected]>
d95e114626732976ed73a165365089d6e21986cc authored almost 6 years ago by Eason Lin <[email protected]>
700eb945921db768faea0886a72edf4712331b89 authored almost 6 years ago by Eason Lin <[email protected]>
50660570fd78f4658c71f2612a970123ae36711b authored almost 6 years ago by 风雪夜归人 <[email protected]>
* Add response headers
New features. Parse header comment and add to response.
* Test pars...
abe54882d7a5e01734e606080856dd84257bb867 authored almost 6 years ago by Konstantin <[email protected]>refactor: returns error instead of panic
4dfb5f32ddf2406b3cbbd4084e125c9f6126dbf2 authored almost 6 years ago by Eason Lin <[email protected]>* add: surpport override swaggertype tag especially for self-defined struct
* add test and us...
0666acc8956457aa755727b935f1210cbb9a3c63 authored almost 6 years ago by sdghchj <[email protected]>* fix bug: []map[string]string type will crash!
* add test data
* add more test data
7cb56155ce638f23b574c302b01bbc860a99e30d authored almost 6 years ago by windprog <[email protected]>2a57949e334f0974aedeae62875eb32a2c03bebd authored almost 6 years ago by zhanweidu <[email protected]>
ed5589f8cdfb4962dc4c1ac9dfacf61e37319196 authored almost 6 years ago by Eason Lin <[email protected]>
ba90627703f53aeb89cd63a304d1fef7b243fd63 authored almost 6 years ago by Lorenz Bischof <[email protected]>
* Basic implementation of multiline description
* Add docs
* Update tests to include multi...
7e407c19a6c0c598c8b8aa0845aca6475ea7b280 authored almost 6 years ago by kolaente <[email protected]>1048d765032fda9bc2a80d263d7062d7abc6afb3 authored almost 6 years ago by Andrew Beletskiy <[email protected]>
de0fc425dfb8128fc70992323241e4f9d903ab7d authored almost 6 years ago by Rungsikorn Rungsikavanich <[email protected]>
* add filename info when panic
* fix test call
17745a0fc56140e1fc25106412013d76e627ad81 authored almost 6 years ago by z2665 <[email protected]>* sort the typeNames so that parsing definitions is deterministic.
* fix bug with required pr...
78c4dffca56499212256ed83fafbbe618648935a authored about 6 years ago by Ruben de Vries <[email protected]>0e12fd5eb026e6074484415fb65181e2ea77f5c9 authored about 6 years ago by zarmin <[email protected]>
934068ff10f3d59cc4c91e9726eb4f5530093107 authored about 6 years ago by Eason Lin <[email protected]>
b5bd45e8eb109e459ae74bfd86dd507a7fde4585 authored about 6 years ago by Tommaso Sardelli <[email protected]>
559d01106702688b74d057d980a9a441b766c6c6 authored about 6 years ago by Ruben de Vries <[email protected]>
1c8533a91397f75c3a787ad96331a62f88f60c53 authored about 6 years ago by André Cruz <[email protected]>
ecdf79caf29a6a978b1f895eea4b65e8c50c443e authored about 6 years ago by Nerzal <[email protected]>
a2ee966466be717ea86abf7e3d0cd1fe23b6fa46 authored about 6 years ago by Nikolai Obedin <[email protected]>
* Update gin link in README.md
* Use Gin instead of `gin` in documentation
The document ge...
64ab6b048992665f5899e23f83cbd35a812d5fb0 authored about 6 years ago by Jones <[email protected]>* Add support for map and struct pointer types
* Add test for map pointer type property
* ...
56047e6419d8c96e537eec9914e1796a2cf24d00 authored about 6 years ago by Bojan <[email protected]>
Currently, the function does not use its refTypeName parameter;
instead it checks that the 1st ...
cea5516ea40b3808d793983df71ee470f08219c6 authored about 6 years ago by Nikolai Obedin <[email protected]>
This commit adds support for the following attributes in the struct
fields:
- "minimum": for...
6993bc5667b70aa5067a78abaa67c094dc96e864 authored about 6 years ago by Nikolai Obedin <[email protected]>c0507b2993000cd1c89ba2783c7367501a657589 authored about 6 years ago by Nikolai Obedin <[email protected]>
ff5497434981e6d0aecbd289111c8524f14f77ba authored about 6 years ago by Nikolai Obedin <[email protected]>
e565d5c46b5453e2d75cd5b33720b9bbebf1fd73 authored about 6 years ago by Nikolai Obedin <[email protected]>
this fixes the `required: []` list changing order every time you run swag.
b0e84d834eb40856b50c93571d1a474a0e17208e authored about 6 years ago by Ruben de Vries <[email protected]>6219f1aa443535e99da458aefba97c34d77db029 authored about 6 years ago by Ruben de Vries <[email protected]>
19d1d7a6b8919612fba0dcbc6d5bd1f3884ef827 authored about 6 years ago by Ruben de Vries <[email protected]>
* fix: missing schema convert
* feat: multi description support
* multi description test c...
2864d16627b66419e529522dcd66b3acfe90944f authored about 6 years ago by Yongzheng Lai <[email protected]>* fix(Makefile): golint uses new repo url
* remove go test race
* chore: fix goimports
7d687ac3f85e722c64cb5caf32fc6cffe0dab3ea authored about 6 years ago by Eason Lin <[email protected]>7b8e2c6e9410cb72361a377c8e2f0925201317cf authored about 6 years ago by Bojan <[email protected]>
82de8d740b04ecbcc9d1b449da42500830abcfb6 authored about 6 years ago by James Elsey <[email protected]>
* remove panic in favor of printed warning
* log.Print() -> log.Println()
0744535a32fdeaa2172aa047b64d1e2bae550b51 authored about 6 years ago by Ashton Kinslow <[email protected]>73cbe8577bda9be716e40f5ba03c5be4981cbd84 authored over 6 years ago by Yongzheng Lai <[email protected]>
* dealing with custom primitive types
* deal with array of custom types
* code doc
* te...
d85ab81f71f50bc19b6558787b8be85335786813 authored over 6 years ago by Abdul Alkhatib <[email protected]>* refactor: enhance error handle
* add missing return
* use pkg error lib instead of stand...
fd1af3a660a5fe9b0c90e4a041236eba2cddd3fb authored over 6 years ago by Eason Lin <[email protected]>dac684d3c269acbe4e7d68e67859eb36f8e926d1 authored over 6 years ago by Eason Lin <[email protected]>
e8c6d12e2c12a510070257ad5f2cecd937cbe76a authored over 6 years ago by Eason Lin <[email protected]>
* dealing with custom primitive types
* deal with array of custom types
* code doc
* te...
d18ec729214a77e265feb684d67fed5836fe802a authored over 6 years ago by Abdul Alkhatib <[email protected]>* test: add go1.11 testing
* Update .travis.yml
c62a15db840809c8003bbd37f76966a5782282dc authored over 6 years ago by Eason Lin <[email protected]>In the Insert() method,Add a.Name = fmt.Sprintf("account_%d", accountMaxID)
4858d902e778e2aa6e3ff998c893158aee17755c authored over 6 years ago by fenggolang <[email protected]>542fa3699f6e267a876a42c356172c73fc04b062 authored over 6 years ago by Hetian Zhu <[email protected]>
* minor fix to address referencing types in external, vendored pkgs #188
* added a few tests
...
11a72408bc370a3dc64a9887c5ecb125c9af4b47 authored over 6 years ago by Abdul Alkhatib <[email protected]>
bd1fb1b47bff56cd0259d0313b9e4584da6da33f authored over 6 years ago by pei <[email protected]>
Missing validation of the type assertion on arrays
789f2da8452fee0f06859db146f657bba227ddf5 authored over 6 years ago by Ricardo Malta <[email protected]>de064fbbef9c48d97ce02fade618d58ce270b48d authored over 6 years ago by Jason Hancock <[email protected]>
e3d1c4fc7dc4b08b48b5cc5fcb0cae4ccc5348cc authored over 6 years ago by pei <[email protected]>
* fix invalid response type: array of strings
* fix lint
741541c2ec574989aed149e68692ccfe531e1746 authored over 6 years ago by pei <[email protected]>4b32e23f38d22c8df9df3e4f49a00c83245f1bbf authored over 6 years ago by pei <[email protected]>
45ceeebbc4936ada3b25e179e1caf06419eb16bc authored over 6 years ago by pei <[email protected]>
1e6193c20f6a739463fad76ac8ab0e9aeb8670ff authored over 6 years ago by pei <[email protected]>
* feat: support empty response body when only have status code
c4bdcfdd673e5485c2a4c3d773b130cbe1fd47c7 authored over 6 years ago by Eason Lin <[email protected]>fbdf74d059b731dc3dd201b57aae23bb61f600b1 authored over 6 years ago by Joe Timmer <[email protected]>
* release v1.3.2
* fix basic example should be lower camelcase
* refactor: use default cam...
b7785aa082335ab92afd045749e35cff71dd88f8 authored over 6 years ago by Eason Lin <[email protected]>* release v1.3.2
* refine comment
* fix typo
19badc4df551b56cb1fe6fd761a18a0c127fcde7 authored over 6 years ago by Eason Lin <[email protected]>db2ee6c14a35e4fca95b0d75054296ef2b699050 authored over 6 years ago by Eason Lin <[email protected]>
d73f7127cfca81fb65c478ac73ce33d18fbfbfd5 authored over 6 years ago by Eason Lin <[email protected]>
1e6852b034d11d88a21490ad7463abb973a971a5 authored over 6 years ago by syossan27 <[email protected]>
* refactor: exclude hiden folder
1f4d7c31be417bf1161b7c810e7264195df61476 authored over 6 years ago by Eason Lin <[email protected]>0836f22e483fa6b928c31382fb2ad87a7e2e5f54 authored over 6 years ago by Eason Lin <[email protected]>
98128c0ec9c96ebf8ab53c2d0917901aadc84843 authored over 6 years ago by Eason Lin <[email protected]>
* Add struct field description
2812f2c6883514f0e9201221106caaf7c063cbf0 authored over 6 years ago by Gleb <[email protected]>This reverts commit 657cedde2f1bfac42ea44b147538bfdaf9503860.
015cc4041d62df0b61cb051d96a3820dd9fb0d65 authored over 6 years ago by pei <[email protected]>df4c8b8987faceb574be5ec0b5892e9b6b5b5b05 authored over 6 years ago by pei <[email protected]>
657cedde2f1bfac42ea44b147538bfdaf9503860 authored over 6 years ago by pei <[email protected]>
dbf857aed3a6b2dabbfedd7ab99344748acd5f72 authored over 6 years ago by Toshifumi Anan <[email protected]>
7f43daadc5810ea7b218843388db700b2161ea90 authored over 6 years ago by pei <[email protected]>
* feat: support struct field as required.
faa91b116dea5ee4f60622620144e78a6f3c4595 authored over 6 years ago by zhongkeqin <[email protected]>1dfbfbca9b2f6d71836c5e34bcb5cca0622c4bfd authored over 6 years ago by pei <[email protected]>
* feat: release v.1.3 version
* add comment for const
a3d02213d0af58d887d71d4765e7862105796f67 authored over 6 years ago by Eason Lin <[email protected]>de12a77da06419148d7bf82bcb3151e6448f2fc4 authored over 6 years ago by pei <[email protected]>
a33ad04734ba32a78374ce61efd9a786b687a7b5 authored over 6 years ago by Taisuke Fujita <[email protected]>
eb2de808dbc18c32564163e5c38767bc569cd085 authored over 6 years ago by pei <[email protected]>