diff --git a/endpoints/countries.get.py b/endpoints/countries.get.py index e69de29..c82b7b4 100644 --- a/endpoints/countries.get.py +++ b/endpoints/countries.get.py @@ -0,0 +1,8 @@ +from fastapi import FastAPI +from typing import List + +app = FastAPI() + +@app.get("/countries", response_model=List[str]) +def get_countries(): + return ["USA", "Canada", "Germany", "France", "Japan", "Australia"]