HomeVyOS Platform

http-api: T6736: separate REST API and GraphQL API activation

Description

http-api: T6736: separate REST API and GraphQL API activation

The GraphQL API was implemented as an addition to the existing REST API.
As there is no necessary dependency, separate the initialization of the
respective endpoints. Factor out the REST Pydantic models and FastAPI
routes for symmetry and clarity.

Details

Provenance
jestabroAuthored on Sep 25 2024, 3:48 AM
Parents
rVYOSONEX3ad911a20620: http-api: T6736: update for deprecated/renamed in Pydantic V2
Branches
Loading...
Tags
Loading...