Closed xgp closed 1 year ago
Because of an incompatibility, the current plugin we use also prohibits us from upgrading docusaurus.
Let me give a +1 to this. Just opened a silly ticket in the org plugin repo because the UI was a bit misleading.
Please see the image below, the response header which would tell the programmer that the resource will be identified at the new location is missing from the UI, is missing (green)
But it is defined, and even well documented on the standard Swagger UI.
And the same goes for the attributes
there is a helpful documentation which shows the values are a string array.
We switched to this plugin https://github.com/PaloAltoNetworks/docusaurus-openapi-docs Seems to have fewer bugs and sensible defaults.
The docusaurus openapi plugin we use has many bugs and isn't well-maintained https://github.com/cloud-annotations/docusaurus-openapi
Consider using vanilla swagger UI for API docs:
src/pages/api.js
https://www.npmjs.com/package/swagger-ui-react