Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ class Payment(BaseModel):
|
|
| 50 |
# GET
|
| 51 |
@app.get("/", summary="Home", description="Returns a welcome message to the user.")
|
| 52 |
def home():
|
| 53 |
-
return {"Hello": "
|
| 54 |
|
| 55 |
@app.get("/customers/", response_model=List[Customer], summary="Get all customers", description="Retrieves a list of all customers.", tags=["Customers"])
|
| 56 |
def get_customers():
|
|
|
|
| 50 |
# GET
|
| 51 |
@app.get("/", summary="Home", description="Returns a welcome message to the user.")
|
| 52 |
def home():
|
| 53 |
+
return {"Hello": "Welcome to the E-Commerce API!"}
|
| 54 |
|
| 55 |
@app.get("/customers/", response_model=List[Customer], summary="Get all customers", description="Retrieves a list of all customers.", tags=["Customers"])
|
| 56 |
def get_customers():
|