Describe the bug
When accessing a page for an API endpoint that has quite a complex/extensive schema, the page crashes.
Expected behavior
The page should show properly.
Current behavior
The page crashes with the following error message:
Steps to reproduce
- build the Open API spec from https://raw.githubusercontent.com/gotson/komga/f46e0406f970b8bc3fb15b812c92d0f75204528b/komga/docs/openapi.json
- Try to access the page called
get-series-list (the endpoint is POST /api/v1/series/list)
Screenshots
Context
If i replace the generated <RequestSchema> with something simpler like:
<RequestSchema
title={"Body"}
body={undefined}
></RequestSchema>
then the page shows properly.
It seems that rendering the schema makes the page crash.
Your Environment
- Version used: 4.3.3
- Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): Firefox 135, Node.js 22
- Operating System and version (desktop or mobile): macOS 15.2
- Link to your project: https://github.com/gotson/komga-website