Skip to content

Commit

Permalink
in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
p-zielinski committed Nov 24, 2023
1 parent 1388fc0 commit 15bd279
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions reference/OpenAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@
"$ref": "#/components/schemas/OrderCalculatedBase"
},
{
"title": "Order Response",
"title": "Order Calculated",
"type": "object",
"additionalProperties": false,
"description": "Order information.",
Expand Down Expand Up @@ -7368,9 +7368,9 @@
{}
]
},
"CampaignResponseBase": {
"CampaignCreatedBase": {
"type": "object",
"title": "Campaign",
"title": "Campaign Created Base",
"description": "This is an object representing a campaign.",
"x-tags": [
"CAMPAIGNS API"
Expand Down Expand Up @@ -7557,14 +7557,14 @@
"metadata"
]
},
"CampaignResponse": {
"title": "Campaign Response",
"CampaignCreated": {
"title": "Campaign Created",
"x-tags": [
"CAMPAIGNS API"
],
"allOf": [
{
"$ref": "#/components/schemas/CampaignResponseBase"
"$ref": "#/components/schemas/CampaignCreatedBase"
},
{
"title": "Campaign Additional Data",
Expand Down Expand Up @@ -7616,7 +7616,7 @@
]
},
"code_config": {
"$ref": "#/components/schemas/CodeConfigResponse"
"$ref": "#/components/schemas/CodeConfigCreated"
},
"is_referral_code": {
"type": "boolean",
Expand Down Expand Up @@ -7687,8 +7687,8 @@
}
}
},
"CodeConfigResponse": {
"title": "Code Config Response",
"CodeConfigCreated": {
"title": "Code Config Created",
"allOf": [
{
"$ref": "#/components/schemas/CodeConfig"
Expand Down Expand Up @@ -9087,7 +9087,7 @@
"type": "array",
"description": "Contains array of campaign objects.",
"items": {
"$ref": "#/components/schemas/CampaignResponseBase"
"$ref": "#/components/schemas/CampaignCreatedBase"
}
},
"total": {
Expand Down Expand Up @@ -44432,7 +44432,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CampaignResponse"
"$ref": "#/components/schemas/CampaignCreated"
},
"examples": {
"Discount Campaign": {
Expand Down Expand Up @@ -45356,7 +45356,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CampaignResponse"
"$ref": "#/components/schemas/CampaignCreated"
},
"examples": {
"Example": {
Expand Down Expand Up @@ -45469,7 +45469,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CampaignResponse"
"$ref": "#/components/schemas/CampaignCreated"
},
"examples": {
"Example": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/md-tables.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const mdTables: [string, string?][] = [
["Voucher", "VOUCHERS-API-Voucher-Object.md"],
["CampaignResponse", "CAMPAIGNS-API-Campaign-Object.md"],
["CampaignCreated", "CAMPAIGNS-API-Campaign-Object.md"],
["PromotionTier", "PROMOTIONS-API-Promotion-Tier-Object.md"],
["reward", "REWARDS-API-Reward-Object.md"],
["RewardAssignment", "REWARDS-API-Reward-Assignment-Object.md"],
Expand Down

0 comments on commit 15bd279

Please sign in to comment.