Skip to content

Commit

Permalink
Merge pull request #54 from adzerk/vinodkurup/sc-49262/management-js-…
Browse files Browse the repository at this point in the history
…sdk-is-requiring-fields-that

Updated Spec to Handle Required Values Properly
  • Loading branch information
honeycomb-cheesecake authored Aug 23, 2023
2 parents 560d993 + 11af984 commit 258c4e4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions management/flight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -381,28 +381,30 @@ paths:
AttributionClick:
type: object
nullable: true
required:
- MatchType
- LookbackWindow
properties:
MatchType:
type: string
nullable: false
enum: ["SameProduct", "SameCategoryBrand", "SameBrand"]
LookbackWindow:
type: integer
format: int32
nullable: false
enum: [1, 7, 14, 30]
AttributionView:
type: object
nullable: true
required:
- MatchType
- LookbackWindow
properties:
MatchType:
type: string
nullable: false
enum: ["SameProduct", "SameCategoryBrand", "SameBrand"]
LookbackWindow:
type: integer
format: int32
nullable: false
enum: [1, 7, 14, 30]
TargetROAS:
type: number
Expand Down
10 changes: 6 additions & 4 deletions management/schemas/flight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,25 +238,27 @@ schemas:
AttributionClick:
type: object
nullable: true
required:
- MatchType
- LookbackWindow
properties:
MatchType:
type: string
nullable: false
LookbackWindow:
type: integer
format: int32
nullable: false
AttributionView:
type: object
nullable: true
required:
- MatchType
- LookbackWindow
properties:
MatchType:
type: string
nullable: false
LookbackWindow:
type: integer
format: int32
nullable: false
TargetROAS:
type: number
format: float
Expand Down

0 comments on commit 258c4e4

Please sign in to comment.