open API documentation
How to add swagger open API documentation in open saas template?
1 Reply
Hi @Soham. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Currently, there isn't a direct guide or feature in Wasp or the OpenSaaS template for adding Swagger or OpenAPI documentation. However, there's an open discussion on GitHub about the possibility of automatically exposing a documented API based on the defined Operations, potentially using Swagger or OpenAPI. This feature is still under consideration and might be implemented in the future.
For now, you might have to manually integrate Swagger or OpenAPI into your Wasp project. You can follow the official Swagger or OpenAPI documentation for that.
Here is the link to the GitHub discussion: Github Issue (open): Automatically expose documented API based on the defined Operations > Original post (https://github.com/wasp-lang/wasp/issues/863)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Soham, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?