I verified that it installs the formula correctly using my fork
brew tap yonaskolb/SwagGen https://github.com/JanC/SwagGen.git
brew info swaggen
yonaskolb/swaggen/SwagGen: stable 4.7.0, HEAD
Swagger/OpenAPISpec code generator written in Swift
arch -arm64 brew install SwagGen
==> Downloading https://github.com/yonaskolb/SwagGen/archive/4.7.0.tar.gz
==> Downloading from https://codeload.github.com/yonaskolb/SwagGen/tar.gz/refs/tags/4.7.0
#=#=#
==> Installing SwagGen from yonaskolb/swaggen
==> make install PREFIX=/opt/homebrew/Cellar/SwagGen/4.7.0
swaggen --version
Version: 4.7.0
fixes https://github.com/yonaskolb/SwagGen/issues/307
See open issue
I verified that it installs the formula correctly using my fork