diff --git a/lib/keila_web/api/schemas/mailings_campaign.ex b/lib/keila_web/api/schemas/mailings_campaign.ex index 6becd25b..9d52da36 100644 --- a/lib/keila_web/api/schemas/mailings_campaign.ex +++ b/lib/keila_web/api/schemas/mailings_campaign.ex @@ -25,15 +25,15 @@ defmodule KeilaWeb.Api.Schemas.MailingsCampaign do }, json_body: %{ type: :map, - example: """ - { - "blocks": [{ - "id":"ff0011", - "type":"paragraph", - "data": {"text": "Hello, I am a block campaign!"} - }] + example: %{ + "blocks" => [ + %{ + "id" => "ff0011", + "type" => "paragraph", + "data" => %{"text" => "Hello, I am a block campaign!"} + } + ] } - """ }, mjml_body: %{ type: :string,