✅(tests) fix test retrieve eml and update open api schema

This commit is contained in:
Sabrina Demagny
2025-09-29 19:41:06 +02:00
parent bcab071224
commit 29415e21a0
3 changed files with 219 additions and 1 deletions
+38
View File
@@ -3061,6 +3061,44 @@
}
}
},
"/api/v1.0/messages/{id}/eml/": {
"get": {
"operationId": "messages_eml_retrieve",
"description": "Return the EML file for a message.",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "string",
"format": "uuid",
"description": "primary key for the record as UUID"
},
"required": true
}
],
"tags": [
"messages"
],
"security": [
{
"cookieAuth": []
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Message"
}
}
},
"description": ""
}
}
}
},
"/api/v1.0/placeholders/": {
"get": {
"operationId": "placeholders_retrieve",