If the API spec contains a schema object that refers to itself, when converting it to a JSON schema, the following error occurs:
TypeError: Converting circular structure to JSON
at JSON.stringify (<anonymous>)
at convert (node_modules\openapi-schema-to-json-schema\index.js:43:28)
This means that the tool cannot be used for any tree-type structures.
If the API spec contains a schema object that refers to itself, when converting it to a JSON schema, the following error occurs:
This means that the tool cannot be used for any tree-type structures.