docusaurus-openapi-docs icon indicating copy to clipboard operation
docusaurus-openapi-docs copied to clipboard

Incorrect rendering when referencing data from schema

Open adrianrevilla009 opened this issue 1 year ago • 2 comments

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 image image image image

operative.yaml image image image image

Example of the generated .mdx file, with some of the mentioned empty tags. image

Displayed error when compiling server. image

adrianrevilla009 avatar Aug 06 '24 10:08 adrianrevilla009

Hi @adrianrevilla009, can you share a copy or code snippet of the OpenAPI spec to try to reproduce the issue? Thanks!

sserrata avatar Aug 09 '24 17:08 sserrata

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.

sserrata avatar Aug 13 '24 17:08 sserrata