Move api to /api/v1
This includes docs, which are now at http://127.0.0.1:8000/api/v1/docs and the openapi.json, now at http://127.0.0.1:8000/api/v1/openapi.json Fixes #4
This commit is contained in:
@@ -11,7 +11,7 @@ from ..services.auth import auth_is_admin
|
||||
import uuid as gen_uuid
|
||||
from app.services.scanner import WriteNewCard, DeleteCard
|
||||
|
||||
card_router = APIRouter(prefix="/cards", tags=["Card"])
|
||||
card_router = APIRouter(prefix="/api/v1/cards", tags=["Card"])
|
||||
|
||||
def register_card(group_id: int):
|
||||
key = WriteNewCard()
|
||||
|
||||
Reference in New Issue
Block a user