iris-contrib / swagger

Iris middleware to automatically generate RESTful API documentation with Swagger 2.0
MIT License
115 stars 32 forks source link

The module value in the go.mod is wrong #16

Open wechasing opened 3 years ago

wechasing commented 3 years ago

In the release: v12.2.0-alpha2 , the value in the go.mod is module github.com/iris-contrib/swagger

should it be module github.com/iris-contrib/swagger/v12 ?

I can not download it in my project with go mod with error:

go: github.com/iris-contrib/swagger/v12@v12.2.0-alpha2: go.mod has non-.../v12 module path "github.com/iris-contrib/swagger" (and .../v12/go.mod does not exist) at revision v12.2.0-alpha2

Vealcoo commented 1 year ago

Same as me, Does any one know how to fix it?

MuhmdHsn313 commented 1 year ago

I have the same issue

kataras commented 1 year ago

@wechasing @Vealcoo @MuhmdHsn313 please try it:

go get github.com/kataras/iris/v12@master
go get github.com/iris-contrib/swagger@master
go mod tidy -compat=1.19
filippo-veneri commented 1 year ago

It doesn't work. I want the latest version (v12.2.0 as of today). I get this packages in go mod instead: