{"openapi":"3.0.3","info":{"title":"Stripe Consumer App","version":"0.1.0","description":"Fixture app that consumes the Mock Stripe upstream to create orders. Showcases API-change → UI-affected → test-update flow."},"components":{"schemas":{}},"paths":{"/api/health":{"get":{"operationId":"appHealth","tags":["meta"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"plugin":{"type":"string"},"stripe_base_url":{"type":"string"}}}}}}}}},"/api/orders":{"post":{"operationId":"createOrder","summary":"Create an order (creates a Stripe charge under the hood)","tags":["orders"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["item","amount_cents"],"properties":{"item":{"type":"string","minLength":1},"amount_cents":{"type":"integer","minimum":1}}}}}},"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"order_id":{"type":"string"},"charge":{"type":"object","properties":{"id":{"type":"string"},"amount":{"type":"integer"},"currency":{"type":"string"},"status":{"type":"string"}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}}}}}},"502":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"}}}}}}}},"get":{"operationId":"listOrders","tags":["orders"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"orders":{"type":"array","items":{"type":"object"}}}}}}}}}}},"servers":[{"url":"/apps/stripe-consumer"}]}