feat: Add documentation generation and serve functionality
- Implement documentation generation - Replace chi router with gin for documentation server - Fix issues with docs command execution
This commit is contained in:
@@ -21,7 +21,7 @@ var (
|
||||
AuthMiddleware *ginJwt.GinJWTMiddleware
|
||||
)
|
||||
|
||||
func init() {
|
||||
func Init() {
|
||||
jwtPublicKeyPath := os.Getenv("JWT_SIGN_PUBLIC_KEY_PATH")
|
||||
if !strings.HasPrefix(jwtPublicKeyPath, "/") {
|
||||
jwtPublicKeyPath = settings.WorkingDir + "/" + jwtPublicKeyPath
|
||||
|
||||
Reference in New Issue
Block a user