docusaurus-openapi-docs
docusaurus-openapi-docs copied to clipboard
Incorrect rendering when referencing data from schema
Problem with Generating Swagger Files There is an issue when generating Swagger files that use schemas referenced by other YAML files. This problem leads to compilation errors during project build due to the generation of empty tags in .mdx files, which cannot be rendered.
Example of Issue
common-schema.yaml
operative.yaml
Example of the generated .mdx file, with some of the mentioned empty tags.
Displayed error when compiling server.
Hi @adrianrevilla009, can you share a copy or code snippet of the OpenAPI spec to try to reproduce the issue? Thanks!
Also, can you provide the version of the plugin and Docusaurus you are attempting to use? Without that, it's difficult to repro or provide a possible fix. Thanks.