Skip to content
Snippets Groups Projects
Commit 39629588 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

fix the wrong tag for version api

remove authorization from the endpoint
parent e3ca5b75
No related branches found
No related tags found
1 merge request!404fix the wrong tag for version api
Pipeline #93278 passed
"""API for getting the version of the orchestrator.""" """API for getting the version of the orchestrator."""
from fastapi import APIRouter, Depends from fastapi import APIRouter
from orchestrator.graphql.resolvers.version import VERSIONS from orchestrator.graphql.resolvers.version import VERSIONS
from orchestrator.security import authorize
from starlette import status from starlette import status
router = APIRouter(prefix="/version", tags=["Network"], dependencies=[Depends(authorize)]) router = APIRouter(prefix="/version", tags=["Version"])
@router.get("/", status_code=status.HTTP_200_OK) @router.get("/", status_code=status.HTTP_200_OK)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment