openapi: fix invalid BillingStatus schema (object + enum hybrid) (#14071)
This commit is contained in:
parent
32a7092c52
commit
ea62dc11c9
11
openapi.yaml
11
openapi.yaml
|
|
@ -9585,16 +9585,9 @@ components:
|
||||||
description: List of plan features
|
description: List of plan features
|
||||||
|
|
||||||
BillingStatus:
|
BillingStatus:
|
||||||
type: object
|
type: string
|
||||||
x-runtime: [cloud]
|
x-runtime: [cloud]
|
||||||
description: "[cloud-only] Overall billing and subscription status."
|
description: "[cloud-only] Overall billing/payment lifecycle status."
|
||||||
properties:
|
|
||||||
subscription:
|
|
||||||
$ref: "#/components/schemas/BillingSubscription"
|
|
||||||
balance:
|
|
||||||
$ref: "#/components/schemas/BillingBalance"
|
|
||||||
has_payment_method:
|
|
||||||
type: boolean
|
|
||||||
enum:
|
enum:
|
||||||
- awaiting_payment_method
|
- awaiting_payment_method
|
||||||
- pending_payment
|
- pending_payment
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue