-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created a base api-version-one endpoint router with the /api/v1 prefix
- Loading branch information
Showing
7 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from api.v1.models.user import User, WaitlistUser | ||
from api.v1.models.org import Organization | ||
from api.v1.models.profile import Profile | ||
from api.v1.models.product import Product | ||
from api.v1.models.subscription import Subscription | ||
from api.v1.models.blog import Blog | ||
from api.v1.models.job import Job | ||
from api.v1.models.invitation import Invitation | ||
from api.v1.models.role import Role | ||
from api.v1.models.permission import Permission | ||
from api.v1.models.newsletter import NEWSLETTER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from fastapi import APIRouter | ||
from api.v1.routes.auth import auth | ||
from api.v1.routes.roles import role | ||
from api.v1.routes.newsletter_router import newsletter | ||
|
||
api_version_one = APIRouter(prefix="/api/v1") | ||
|
||
api_version_one.include_router(auth) | ||
api_version_one.include_router(role) | ||
api_version_one.include_router(newsletter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters