When we have an object defined with allOf the plugin generates the object without REQUIRED and without the description.
For example:
Results in this output without REQUIRED, and when expanded, it has no description:
Expected behavior
It should render with the REQUIRED and description as follows:
Possible solution
Steps to reproduce
The steps:
1.Define an object with allOf and with with a description, for example:
2.Define an endpoint with a required parameter defined by the object.
Your Environment
Version used: Docusaurus 2.4.3 and your plugin version is 2.0.x
Environment name and version: Chrome 123.0.6312.124, node.js v20.11.1
Operating System and version (desktop or mobile): Mac
Describe the bug
When we have an object defined with
allOf
the plugin generates the object withoutREQUIRED
and without the description. For example: Results in this output without REQUIRED, and when expanded, it has no description:Expected behavior
It should render with the REQUIRED and description as follows:
Possible solution
Steps to reproduce
The steps: 1.Define an object with
allOf
and with with a description, for example:2.Define an endpoint with a required parameter defined by the object.
Your Environment