diff --git a/README.md b/README.md index 399331b..68924a8 100644 --- a/README.md +++ b/README.md @@ -365,8 +365,12 @@ components: type: boolean activeProtections: type: array + items: + type: object sentProtections: type: array + items: + type: object StatusResponse: type: object properties: @@ -1779,19 +1783,7 @@ paths: content: application/json: schema: - type: object - required: - - target - - url - properties: - target: - type: string - description: Target IP, CIDR, or * for all - example: "192.168.1.100" - url: - type: string - description: Webhook URL - example: "https://example.com/webhook" + $ref: '#/components/schemas/WebhookEntry' responses: "201": description: Webhook added successfully @@ -1915,19 +1907,7 @@ paths: content: application/json: schema: - type: object - required: - - target - - email - properties: - target: - type: string - description: Target IP or CIDR - example: "192.168.1.100" - email: - type: string - description: Email address - example: "admin@example.com" + $ref: '#/components/schemas/EmailEntry' responses: "201": description: Email notification added successfully