diff --git a/openapi.json b/openapi.json index 0eaa63b..1ef49d7 100644 --- a/openapi.json +++ b/openapi.json @@ -7320,7 +7320,8 @@ "price_id": { "type": "string", "nullable": true, - "description": "Stripe price ID for billing purposes." + "description": "Stripe price ID for billing purposes.", + "pattern": "^price_[a-zA-Z0-9_]+$" }, "status": { "$ref": "#/components/schemas/DeviceStatus" @@ -7479,7 +7480,8 @@ }, "price_id": { "type": "string", - "nullable": true + "nullable": true, + "pattern": "^price_[a-zA-Z0-9_]+$" }, "status": { "$ref": "#/components/schemas/DeviceStatus" @@ -8255,4 +8257,4 @@ } } } -} \ No newline at end of file +} diff --git a/openapi.yaml b/openapi.yaml index 44affef..641acbf 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5787,6 +5787,7 @@ components: type: string nullable: true description: Stripe price ID for billing purposes. + pattern: ^price_[a-zA-Z0-9_]+$ status: $ref: '#/components/schemas/DeviceStatus' metadata: @@ -5970,6 +5971,7 @@ components: price_id: type: string nullable: true + pattern: ^price_[a-zA-Z0-9_]+$ status: $ref: '#/components/schemas/DeviceStatus' metadata: