oas: [1/n] improve oas schemas (#9039)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-06 18:52:51 +03:00
1 parent cd909f9db3
commit 0482b7751d
21 files changed
+108 -110

No files matched your search

@@ -32,15 +32,15 @@
* campaign_identifier:
* type: string
* title: campaign_identifier
* description: The campaign's campaign identifier.
* description: The campaign's identifier.
* starts_at:
* type: string
* title: starts_at
* description: The campaign's starts at.
* description: The date and time that the campaign starts.
* ends_at:
* type: string
* title: ends_at
* description: The campaign's ends at.
* description: The date and time that the campaign ends.
* budget:
* type: object
* description: The campaign's budget.
@@ -57,7 +57,9 @@
* description: The budget's ID.
* type:
* type: string
* description: The budget's type.
* description: >
* The budget's type. `spend` means the limit is set on the total amount discounted by the campaign's promotions; `usage` means the limit is set on the total
* number of times the campaign's promotions can be used.
* enum:
* - spend
* - usage
@@ -72,7 +74,9 @@
* used:
* type: number
* title: used
* description: The budget's used.
* description: >
* How much of the budget has been used. If the limit is `spend`, this property holds the total amount discounted so far. If the limit is `usage`, it holds
* the number of times the campaign's promotions have been used so far.
*
*/