{"openapi":"3.1.0","info":{"title":"IBS FODMAP Diet Read-only API","version":"1.0.0","description":"Static, read-only food metadata with explicit energy units and provenance notices."},"servers":[{"url":"https://www.fodmapibsdiet.com"}],"paths":{"/api/foods.json":{"get":{"summary":"List all foods","responses":{"200":{"description":"Food collection"}}}},"/api/foods/{slug}":{"get":{"summary":"Get a food by stable slug","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Food record"}}}},"/api/foods/category/{category}":{"get":{"summary":"List foods in a category","responses":{"200":{"description":"Filtered collection"}}}},"/api/foods/rating/{rating}":{"get":{"summary":"List foods by low, moderate, or high rating","responses":{"200":{"description":"Filtered collection"}}}}}}