Skip to content

Refactor remaining endpoints to FastAPI APIRouter #357

@korikuzma

Description

@korikuzma

Feature description

I think we should refactor the REST API to consistently use FastAPI APIRouter, following the existing vcf router

Use case

Will improve readability, maintainability, + follow FastAPI best practices

Acceptance Criteria

  • VCF routes stay the same
  • Remaining routes are split into separate routers (vrs, search, general)
  • No changes to endpoint paths, behavior, or responses
  • Tests continue to pass

Proposed solution

No response

Alternatives considered

No response

Implementation details

No response

Potential Impact

No response

Additional context

No response

Contribution

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions