This commit is contained in:
mike
2025-12-12 09:12:03 +01:00
parent 08908d80d5
commit 92f145e6b3
12 changed files with 1638 additions and 71 deletions

35
swagger.yml Normal file
View File

@@ -0,0 +1,35 @@
openapi: 3.0.0
info:
title: WAPP API
version: 1.0.0
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
security:
- ApiKeyAuth: []
paths:
/api/send:
post:
summary: Send a WhatsApp message
security:
- ApiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
phoneNumber:
type: string
message:
type: string
responses:
'200':
description: OK