ugorji / go

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
MIT License
1.85k stars 295 forks source link

Issue with Swagger 1.6.5, 1.6.4, 1.6.3 #349

Closed chetan-apty closed 3 years ago

chetan-apty commented 3 years ago

I am facing an issue after recent changes happened with ugorji. On downloading github.com/swaggo/swag 1.6.5 version, there is an dependency error thrown as shown below: github.com/swaggo/swag@v1.6.5 requires github.com/swaggo/gin-swagger@v1.2.0 requires github.com/ugorji/go@v1.1.5-pre requires github.com/ugorji/go/codec@v1.1.5-pre: reading github.com/ugorji/go/codec/codec/go.mod at revision codec/v1.1.5-pre: unknown revision codec/v1.1.5-pre

image

Current Go version installed is 1.13.5

If you could help us out in resolving this issue, that would be great!!

ugorji commented 3 years ago

I just re-added a tag for codec/v1.1.5-pre - see https://github.com/ugorji/go/tree/codec/v1.1.5-pre

Try again and see if it resolves your issue.

If not, this has to be followed upstream with gin-swagger or swag, as they seemingly (directly or indirectly) depended on a pre-release version, and need to upgrade/update.