Skip to content

Commit

Permalink
Update api spec (#954)
Browse files Browse the repository at this point in the history
YOYO NEW API SPEC!

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 8918276 commit ddc121d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -21161,6 +21161,13 @@
"description": "A subscription tier we offer for the Modeling App.",
"type": "object",
"properties": {
"annual_discount": {
"nullable": true,
"description": "Annual discount. The percentage off the monthly price if the user pays annually.",
"type": "integer",
"format": "uint",
"minimum": 0
},
"description": {
"description": "A description of the tier.",
"type": "string"
Expand Down Expand Up @@ -32281,6 +32288,13 @@
"description": "A subscription to the modeling app.",
"type": "object",
"properties": {
"annual_discount": {
"nullable": true,
"description": "Annual discount. The percentage off the monthly price if the user pays annually.",
"type": "integer",
"format": "uint",
"minimum": 0
},
"description": {
"description": "A description of the tier.",
"type": "string"
Expand Down Expand Up @@ -32396,6 +32410,11 @@
"$ref": "#/components/schemas/ModelingAppOrganizationSubscriptionTier"
}
]
},
"pay_annually": {
"nullable": true,
"description": "If the customer chooses to pay annually or monthly, we can add that here. The annual discount will apply if there is a discount for the subscription.",
"type": "boolean"
}
}
},
Expand All @@ -32411,6 +32430,11 @@
"$ref": "#/components/schemas/ModelingAppIndividualSubscriptionTier"
}
]
},
"pay_annually": {
"nullable": true,
"description": "If the customer chooses to pay annually or monthly, we can add that here. The annual discount will apply if there is a discount for the subscription.",
"type": "boolean"
}
}
},
Expand Down

0 comments on commit ddc121d

Please sign in to comment.