DRF spectacular OpenAPI schema generation fails #1505
Labels
app: projectroles
Issue in the projectroles app
bug
Something isn't working
environment
Issues of dependencies, CI, deployment etc.
Milestone
Problem
In VarFish, we use DRF spectacular to generate the OpenAPI schema. As VarFish is based on SODAR core, it iterates over the sources files as well. This causes an error and the API schema generation to fail.
Solution
Exclude the SODAR core files in VarFish for the DRF spectacular run.
Alternative Solutions
Change the API views in SODAR core.
Additional Context
The error stack looks as follows:
The text was updated successfully, but these errors were encountered: