from fastapi import FastAPI app = FastAPI() @app.get("/") def root(): return {"message": "Pozdrav svijete! (v2)", "autor": "fsusak03"} @app.get("/health") def health(): return {"status": "ok", "version": "2.0"} @app.get("/info") def info(): return {"servis": "priprema-za-kolokvij", "verzija": "2.0"}