{"openapi":"3.1.0","info":{"title":"EnergyShift Solar Services API","version":"1.0.0","description":"Solar installation, CRM, customer, quote, invoice, and support APIs for EnergyShift."},"servers":[{"url":"https://localhost:3000"}],"paths":{"/api/ping":{"get":{"summary":"Health check","operationId":"getPing","responses":{"200":{"description":"API is reachable","content":{"application/json":{"schema":{"type":"object","properties":{"ping":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}}}}}}}},"/api/auth/login":{"post":{"summary":"Create an authenticated admin session","operationId":"postAuthLogin","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","format":"password"}}}}}},"responses":{"200":{"description":"Session created"},"401":{"description":"Invalid email or password"}}}},"/api/shop/products":{"get":{"summary":"List public shop products","operationId":"getShopProducts","responses":{"200":{"description":"Product list response"}}}},"/api/shop/inquiries":{"post":{"summary":"Create a shop product inquiry","operationId":"postShopInquiry","responses":{"200":{"description":"Inquiry accepted"}}}}}}