1. Home
  2. Documentation
  3. Sensedia Docs Guia de uso
  4. Open API usage

Open API usage

Guide on how to use Open API

Open API is a specification that allows you to describe RESTful APIs in a standardized way. It makes APIs easier to understand and use, and also enables automatic generation of documentation and client code. Sensedia Docs supports creating API documentation using Open API, allowing you to describe your endpoints, parameters, responses, and other details clearly and in a structured manner.

Creating Open API documentation

To create Open API documentation in Sensedia Docs, you can follow these steps:

Add a new document

You can create a new .json document and reference it in your project, or link to a remote Open API document.

Reference the Open API document

Inside the .md file, use the OpenAPI component to reference the Open API document. For example:

or

Viewing the documentation

After adding the component, you can view the Open API documentation directly in Sensedia Docs. The documentation will be rendered automatically, showing details of endpoints, parameters, responses, and other aspects of the API.

Local usage example

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more