Fix: Update Swagger JSON to prevent overflow (#442)

This commit is contained in:
Ralph Slooten
2025-02-14 16:10:54 +13:00
parent 61a1ed0e49
commit 7c366669c7
3 changed files with 10 additions and 6 deletions

View File

@@ -69,7 +69,7 @@
"name": "Body",
"in": "body",
"schema": {
"$ref": "#/definitions/Triggers"
"$ref": "#/definitions/ChaosTriggers"
}
}
],
@@ -1188,6 +1188,10 @@
},
"x-go-package": "github.com/axllent/mailpit/internal/storage"
},
"ChaosTriggers": {
"description": "ChaosTriggers are the Chaos triggers",
"$ref": "#/definitions/Triggers"
},
"HTMLCheckResponse": {
"description": "Response represents the HTML check response struct",
"type": "object",
@@ -1920,7 +1924,7 @@
"$ref": "#/definitions/Trigger"
}
},
"$ref": "#/definitions/Triggers"
"x-go-package": "github.com/axllent/mailpit/internal/smtpd/chaos"
},
"WebUIConfiguration": {
"description": "Response includes global web UI settings",
@@ -2002,7 +2006,7 @@
"ChaosResponse": {
"description": "Response for the Chaos triggers configuration",
"schema": {
"$ref": "#/definitions/Triggers"
"$ref": "#/definitions/ChaosTriggers"
}
},
"ErrorResponse": {