mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-29 13:27:09 -05:00
* Added validators for users and recipes provide a simple get api, allowing to test for existence of - user by username - recipe by slug - group by name (not tested yet) * updated formatting * Use group_id+slug for recipes, use ValidationRespone * Fixed Flake8 errors and warnings * add missing field for TestUser init
19 lines
642 B
Python
19 lines
642 B
Python
from fastapi import APIRouter
|
|
|
|
from . import admin, app, auth, comments, groups, organizers, parser, recipe, shared, unit_and_foods, users, validators
|
|
|
|
router = APIRouter(prefix="/api")
|
|
|
|
router.include_router(app.router)
|
|
router.include_router(auth.router)
|
|
router.include_router(users.router)
|
|
router.include_router(groups.router)
|
|
router.include_router(recipe.router)
|
|
router.include_router(organizers.router)
|
|
router.include_router(shared.router)
|
|
router.include_router(comments.router)
|
|
router.include_router(parser.router)
|
|
router.include_router(unit_and_foods.router)
|
|
router.include_router(admin.router)
|
|
router.include_router(validators.router)
|