This is valid openapi spec as can be seen checked using a validator. Of course, dealing with a circular swagger requires a form of normalization.
I am currently using the standard swagger UI, which does nicely deal with circular references. However, as I have moved all my documentation over to vitepress, I would also prefer to maybe include some swagger here and there as it could help make explanations a bit clearer.
Take the following minimal crashable example:
This is valid openapi spec as can be seen checked using a validator. Of course, dealing with a circular swagger requires a form of normalization.
I am currently using the standard swagger UI, which does nicely deal with circular references. However, as I have moved all my documentation over to vitepress, I would also prefer to maybe include some swagger here and there as it could help make explanations a bit clearer.