Skip to content

Use swag v2#117

Open
santouras wants to merge 2 commits into
swaggo:masterfrom
santouras:swagg-v2
Open

Use swag v2#117
santouras wants to merge 2 commits into
swaggo:masterfrom
santouras:swagg-v2

Conversation

@santouras

Copy link
Copy Markdown

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

@ubogdan

ubogdan commented Jun 4, 2024

Copy link
Copy Markdown
Contributor

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

@ubogdan

ubogdan commented Jun 12, 2024

Copy link
Copy Markdown
Contributor

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

ubogdan commented Oct 22, 2024

Copy link
Copy Markdown
Contributor

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

@nasermirzaei89

Copy link
Copy Markdown

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
Copy Markdown

Any update on this ?

Comment thread go.mod
github.com/stretchr/testify v1.8.2
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
Copy Markdown

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

@DucNg DucNg mentioned this pull request Oct 9, 2025
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