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

[Bug] Circular label not being applied in all cases

Open sserrata opened this issue 2 years ago • 0 comments

Describe the bug

With the new resolver/serializer, circular schema references should be replaced with a "circular" label. There are cases where this label is not properly applied (see below):

Screen Shot 2022-07-12 at 3 54 56 PM

Expected behavior

Circular label should appear next to the property with the circular reference:

Screen Shot 2022-07-12 at 3 56 14 PM

Possible solution

  • Debug createSchemaDetails to determine if and where the label may be getting dropped/lost.
  • Debug the serializer function to determine if label is left out in some cases

Steps to reproduce

See #154 deploy preview

sserrata avatar Jul 12 '22 19:07 sserrata