2025-03-28 06:52:21 +07:00

40 lines
1.1 KiB
Go

package main
import (
smsgateway "github.com/android-sms-gateway/server/internal/sms-gateway"
)
// @securitydefinitions.basic ApiAuth
// @description User authentication
// @securitydefinitions.apikey UserCode
// @in header
// @name Authorization
// @description User one-time code authentication
// @securitydefinitions.apikey MobileToken
// @in header
// @name Authorization
// @description Mobile device token
// @securitydefinitions.apikey ServerKey
// @in header
// @name Authorization
// @description Private server authentication
// @title SMS Gateway for Android™ API
// @version {APP_VERSION}
// @description This API provides programmatic access to sending SMS messages on Android devices. Features include sending SMS, checking message status, device management, webhook configuration, and system health checks.
// @contact.name SMSGate Support
// @contact.email support@sms-gate.app
// @host localhost:3000/api
// @host api.sms-gate.app
// @schemes https
//
// SMS Gateway for Android
func main() {
smsgateway.Run()
}