From 4ccfe6d1f5f0d5597d196b957dc9068db6935a9e Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Fri, 21 Mar 2025 05:07:34 +0000 Subject: [PATCH] feat: Update endpoint countries --- endpoints/countries.get.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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"]