documentation
documentation copied to clipboard
[Bug]: No swagger or openapi.json
Link to the documentation page or resource
https://docs.strapi.io/developer-docs/latest/plugins/documentation.html#swagger-json-and-openapi-json-files
Describe the bug
This documentation appears to be stale. I was testing Strapi for a new project because I read the documentation claiming that Strapi produces a swagger.json file. Sadly, after configuring some collections, it seems the documentation is wrong.
Strapi does not appear to expose a swagger.json or openapi.json. The PR to enable this functionality was recently closed: https://github.com/strapi/strapi/pull/8486
There is also an open issue on the main repository which has not been addressed for several months: https://github.com/strapi/strapi/issues/10734
Additional context
No response
Suggested improvements or fixes
Remove the documentation or better yet implement the feature!
Related issue(s)/PR(s)
https://github.com/strapi/strapi/pull/8486 https://github.com/strapi/strapi/issues/10734
For me this is a necessary feature to even start with Strapi. Its pending for a long time and the documentationis very misleading. Was trying to get the documentation for an hour until I found this issue here.
Still relevant
stiil an issue for latest version 4.9.1
Hi @brianegan and apologies it took so long to provide an answer.
Does the issue still persists with Strapi v14? If yes I'll transfer this to our engineers, as this is more of a product issue (e.g., something to be fixed in the strapi/strapi
repo first).
Closing the issue for now and assuming it works for Strapi v14. Feel free to re-open if you have additional information to provide.