Skip to content

Commit

Permalink
Use CampaignInput schema for /v1/campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
tomascasas committed Dec 4, 2024
1 parent ec81492 commit cc8e00b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion management/campaign.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion management/openapi-3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc8e00b

Please sign in to comment.