4 changed files with 2 additions and 26 deletions
@ -1,13 +0,0 @@ |
|||
from fastapi import APIRouter |
|||
|
|||
router = APIRouter() |
|||
|
|||
|
|||
@router.get("/dog") |
|||
def get_a_dog(): |
|||
return "Woof" |
|||
|
|||
|
|||
@router.get("/cat") |
|||
def get_a_cat(): |
|||
return "Meow" |
@ -1,13 +0,0 @@ |
|||
from fastapi import APIRouter |
|||
|
|||
router = APIRouter() |
|||
|
|||
|
|||
@router.get("/dog") |
|||
def get_b_dog(): |
|||
return "B Woof" |
|||
|
|||
|
|||
@router.get("/cat") |
|||
def get_b_cat(): |
|||
return "B Meow" |
Loading…
Reference in new issue