Unexpected SQL queries made while loading the OpenAPI schema
Loading /api/v1/openapi/
, or /api-docs/
with no cache, causes 14 SQL queries. Two are to load the authenticated user, which is normal, but the other 14 are on corpora, element types, processes and transcriptions, and none of this should be necessary to generate the API schema.