{"openapi":"3.1.0","info":{"title":"Grafika Tbilisi Public API","version":"1.0.0","description":"Read public restaurant and visit information."},"servers":[{"url":"https://www.grafikatbilisi.com"}],"security":[],"components":{"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","hint"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"hint":{"type":"string"}}}}}}},"externalDocs":{"url":"https://www.grafikatbilisi.com/docs"},"paths":{"/api/v1/restaurant":{"get":{"operationId":"getRestaurantDetails","externalDocs":{"description":"API versioning and deprecation policy","url":"https://www.grafikatbilisi.com/docs/deprecation"},"parameters":[{"name":"menuLanguage","in":"query","description":"Language of the menu link.","schema":{"type":"string","enum":["en","ka","ru","es"],"default":"en"}}],"description":"Get the restaurant address, telephone, hours and official menu and reservation links. Optionally select the menu link language with menuLanguage.","responses":{"200":{"description":"Public restaurant information.","content":{"application/json":{"schema":{"type":"object","required":["name","address","telephone","hours","menuUrl","reservationUrl"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"telephone":{"type":"string"},"hours":{"type":"string"},"menuUrl":{"type":"string","format":"uri"},"reservationUrl":{"type":"string","format":"uri"}}}}}},"400":{"description":"Unexpected query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Request limit exceeded on the serving instance.","headers":{"Retry-After":{"description":"Seconds until the limit resets.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"head":{"operationId":"headRestaurantDetails","description":"Check the headers of the restaurant resource without retrieving its body.","responses":{"200":{"description":"Restaurant resource is available."},"400":{"description":"Unexpected query parameters."},"429":{"description":"Request limit exceeded on the serving instance."}}}}}}