diff --git a/openapi.json b/openapi.json index 0eaa63b..b7d6ead 100644 --- a/openapi.json +++ b/openapi.json @@ -7320,6 +7320,7 @@ "price_id": { "type": "string", "nullable": true, + "pattern": "^[a-zA-Z0-9_-]+$", "description": "Stripe price ID for billing purposes." }, "status": { @@ -7479,7 +7480,8 @@ }, "price_id": { "type": "string", - "nullable": true + "nullable": true, + "pattern": "^[a-zA-Z0-9_-]+$" }, "status": { "$ref": "#/components/schemas/DeviceStatus" diff --git a/openapi.yaml b/openapi.yaml index 44affef..500788b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5786,6 +5786,7 @@ components: price_id: type: string nullable: true + pattern: ^[a-zA-Z0-9_-]+$ description: Stripe price ID for billing purposes. status: $ref: '#/components/schemas/DeviceStatus' @@ -5970,6 +5971,7 @@ components: price_id: type: string nullable: true + pattern: ^[a-zA-Z0-9_-]+$ status: $ref: '#/components/schemas/DeviceStatus' metadata: