bug: SchemasLoadAPI should not inherited from SchemaRoot but from BaseModel #3821
Labels
group/backend
Issue related to the backend (API Server, Git Agent)
type/bug
Something isn't working as expected
Milestone
Component
API Server / GraphQL
Infrahub version
0.15.0
Current Behavior
SchemasLoadAPI
includes some redundant fields at the root of the objectExpected Behavior
SchemasLoadAPI
should be only a list of Schemas (SchemaLoadAPI) without the extra field at the root of the modelSteps to Reproduce
http://localhost:8000/api/docs#/Schemas/
Additional Information
infrahub/backend/infrahub/api/schema.py
Line 88 in 018dced
The text was updated successfully, but these errors were encountered: