This commit is contained in:
2026-06-22 11:38:29 +02:00
commit 3d86f9603d
141 changed files with 77794 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package internal
import (
"git.dynamicdiscord.de/malobeo/portal/openapi"
)
var apiClient *openapi.APIClient
func GetApiClient() *openapi.APIClient {
if apiClient == nil {
configuration := openapi.NewConfiguration()
configuration.Host = "localhost:8000"
configuration.Scheme = "http"
apiClient = openapi.NewAPIClient(configuration)
}
return apiClient
}