swaggo/swag

Install swag v2 (OpenAPI 3.1)

stuzer05 opened this issue · 2 comments

Hi!

I'm struggling to install (go install) swag v2 to be able to generate OpenAPI 3.1 specs. How to do it? I've tried many combinations but seems like v2 is not installable

go install github.com/swaggo/swag/v2/cmd/swag@latest

go install github.com/swaggo/swag/v2/cmd/swag@latest

Thank you!