Skip to content

Commit

Permalink
Update OpenAPI.json
Browse files Browse the repository at this point in the history
  • Loading branch information
weronika-kurczyna committed Oct 13, 2023
1 parent afbbbf4 commit b5abd9e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions reference/OpenAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -10590,7 +10590,7 @@
"total"
]
},
"rewards_update_assignments_request_body": {
"rewards_update_assignment_request_body": {
"type": "object",
"description": "Request body schema for **PUT** `/rewards/{rewardID}/assignments/{assignmentID}`.",
"title": "Update Reward Assignment Request Body",
Expand Down Expand Up @@ -10647,6 +10647,17 @@
"campaign",
"parameters"
]
},
{
"properties": {
"campaign": {
"type": "string",
"description": "The campaign ID of the campaign to which the reward is to be assigned."
}
},
"required": [
"campaign"
]
}
],
"type": "object"
Expand Down Expand Up @@ -54634,7 +54645,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/4_req_update_reward_assignment"
"$ref": "#/components/schemas/rewards_update_assignment_request_body"
},
"examples": {
"Example": {
Expand Down Expand Up @@ -73146,7 +73157,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/rewards_update_assignments_request_body"
"$ref": "#/components/schemas/rewards_update_assignment_request_body"
},
"examples": {
"Example": {
Expand Down

0 comments on commit b5abd9e

Please sign in to comment.