Swagger (OpenAPI Documentation)
Last updated
Was this helpful?
Last updated
Was this helpful?
Xano automatically generates documentation for your APIs using , which provides the information in a standardized format called . The documentation contains information like the API name, description, inputs, and expected response.
Using these standardized methods allows for easy import of your API information into other platforms, such as your frontend of choice, as well as AI chatbots and large-language models for development assistance. In addition, it provides you an easy way to send API specifications to other developers you might be working with, without giving them access to the rest of your Xano workspace.
Documentation is generated for each API group. At the top of the API group page, just click to access the auto-generated documentation for that group.
You can review the response given below.
You can click the link at the top of the page to access a JSON-formatted version of your API spec. This is useful for other external platforms that rely on this type of standardized information about your APIs or providing to AI chatbots / LLMs.
Each API will show you the method, the API name, and the description on the left side.
On the right, you'll see a icon if that API requires authentication.
If any of the API(s) you want to interact with require authentication, click at the top of the page to supply an authentication token.
Throughout the documentation, you'll see icons. These will let you quickly copy the contents of that element, and in the presence of a cURL command, copy that command to quickly paste into a terminal or other API / testing platform of choice, such as .
When in Xano, you can define sample input and output examples for your Swagger documentation.
It is important that you do this to ensure that your documentation is as effective as possible, as well as for helping AI models understand what's expected when interacting with your APIs.