{"openapi":"3.1.0","info":{"title":"Olimpo URL Shortener","description":"Acortador de URLs","version":"v0"},"servers":[{"url":"/"}],"paths":{"/":{"post":{"tags":["shortener-controller"],"operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShortenUrl"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ShortenUrl"}}}}}}},"/{code}/info":{"get":{"tags":["shortener-controller"],"operationId":"info","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ShortenUrl"}}}}}}},"/{code}":{"get":{"tags":["shortener-controller"],"operationId":"redirect","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/ping":{"get":{"tags":["shortener-controller"],"operationId":"ping","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"ShortenUrl":{"type":"object","properties":{"url":{"type":"string"},"code":{"type":"string"},"expiration":{"type":"string"}}}}}}