Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use swag v2 #117

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Use swag v2 #117

wants to merge 2 commits into from

Conversation

santouras
Copy link

Describe the PR
Uses github.com/swaggo/swag/v2 instead of v1 so this can serve swag/v2 definitions

@ubogdan
Copy link
Contributor

ubogdan commented Jun 4, 2024

please bump the GO version to [ '1.19.x', '1.20.x', '1.21.x', '1.22.x' ] in ci.yaml

@ubogdan
Copy link
Contributor

ubogdan commented Jun 12, 2024

Now tests are passing.

Please update the README too
To build from source you need [Go](https://golang.org/dl/) (1.19 or newer).

@ubogdan
Copy link
Contributor

ubogdan commented Oct 22, 2024

We need to keep this on hold for a while. Merging it will break compatibility with v1.

@nasermirzaei89
Copy link

For those who need this, add this to go.mod until merging this pull request:

replace github.com/swaggo/http-swagger/v2 v2.0.2 => github.com/santouras/http-swagger/v2 v2.0.0-20240611234311-8446c8f1819e

@kareemmahlees
Copy link

Any update on this ?

github.com/swaggo/files/v2 v2.0.0
github.com/swaggo/swag v1.8.1
github.com/swaggo/swag/v2 v2.0.0-rc3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to rc4 ?

Suggested change
github.com/swaggo/swag/v2 v2.0.0-rc3
github.com/swaggo/swag/v2 v2.0.0-rc4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants