updated Identity and managment service
This commit is contained in:
20
Trash/TemplateService/endpoints/routes.py
Normal file
20
Trash/TemplateService/endpoints/routes.py
Normal file
@@ -0,0 +1,20 @@
|
||||
from fastapi import APIRouter
|
||||
from .test_template.route import test_template_route
|
||||
|
||||
|
||||
def get_routes() -> list[APIRouter]:
|
||||
return [test_template_route]
|
||||
|
||||
|
||||
def get_safe_endpoint_urls() -> list[tuple[str, str]]:
|
||||
return [
|
||||
("/", "GET"),
|
||||
("/docs", "GET"),
|
||||
("/redoc", "GET"),
|
||||
("/openapi.json", "GET"),
|
||||
("/auth/register", "POST"),
|
||||
("/auth/login", "POST"),
|
||||
("/metrics", "GET"),
|
||||
("/test/template", "GET"),
|
||||
("/test/template", "POST"),
|
||||
]
|
||||
Reference in New Issue
Block a user