{
  "openapi": "3.0.3",
  "info": {
    "title": "Lune Lovi Storefront API",
    "description": "Public storefront API surface for the Lune Lovi jewelry store, backed by Shopify (catalog, collections, products) and edge functions for orders and admin operations.",
    "version": "1.0.0"
  },
  "servers": [
    { "url": "https://lunelovi.com", "description": "Storefront" },
    { "url": "https://urespjhkixztuqfeyfsy.supabase.co/functions/v1", "description": "Edge functions" }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "Storefront home",
        "responses": { "200": { "description": "HTML storefront" } }
      }
    },
    "/shopify-orders": {
      "post": {
        "summary": "Order operations (authenticated)",
        "responses": {
          "200": { "description": "Order data" },
          "401": { "description": "Unauthorized" }
        }
      }
    },
    "/shopify-admin": {
      "post": {
        "summary": "Admin operations (admin role required)",
        "responses": {
          "200": { "description": "Admin operation result" },
          "403": { "description": "Forbidden" }
        }
      }
    }
  }
}
