feat: Update endpoint countries
This commit is contained in:
parent
52fa64ef08
commit
4ccfe6d1f5
@ -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"]
|
Loading…
x
Reference in New Issue
Block a user