From cc8e00bf571f3dd62d97155feb39fca298162acf Mon Sep 17 00:00:00 2001 From: Tomas Casas Date: Wed, 4 Dec 2024 14:27:35 -0300 Subject: [PATCH] Use CampaignInput schema for /v1/campaign --- management/campaign.yaml | 2 +- management/openapi-3.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/management/campaign.yaml b/management/campaign.yaml index 4fda3e1..52949d8 100644 --- a/management/campaign.yaml +++ b/management/campaign.yaml @@ -41,7 +41,7 @@ paths: content: application/json: schema: - $ref: './schemas/campaign.yaml#/schemas/Campaign' + $ref: './schemas/campaign.yaml#/schemas/CampaignInput' responses: 200: description: Campaign Created diff --git a/management/openapi-3.yaml b/management/openapi-3.yaml index 90f4d69..116d306 100644 --- a/management/openapi-3.yaml +++ b/management/openapi-3.yaml @@ -207,7 +207,7 @@ paths: content: application/json: schema: - $ref: './schemas/campaign.yaml#/schemas/Campaign' + $ref: './schemas/campaign.yaml#/schemas/CampaignInput' responses: 200: description: Campaign Created