You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the last Apple silicon support swag version, it opens some debug Gin server
./swag init -g cmd/api/main.go -o docs/swagger
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /api/v1/map --> github.com/swaggo/swag/example/object-map-example/controller.(*Controller).GetMap-fm (3 handlers)
[GIN-debug] GET /swagger/*any --> github.com/swaggo/gin-swagger.CustomWrapHandler.func1 (3 handlers)
[GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on :8080
Expected behavior
All MacBooks are comes with Apple Silicon these days. Better if we can download the ARM version on release page
Your swag version
e.g. 1.8.9
Your go version
e.g. 1.19
Desktop (please complete the following information):
OS: MacOS/ ARM
The text was updated successfully, but these errors were encountered:
dumindu
changed the title
Support for Apple Silicon
Support for Apple Silicon with prebuilt binaries
Jan 23, 2023
Describe the bug
Support for Apple Silicon
To Reproduce
Steps to reproduce the behavior:
swag
on Apple Siliconbad CPU type in executable: ./swag
Expected behavior
All MacBooks are comes with Apple Silicon these days. Better if we can download the ARM version on release page
Your swag version
e.g. 1.8.9
Your go version
e.g. 1.19
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: