Contributing
Updating Dittofeed's API docs
Updating Dittofeed’s API docs requires running Dittofeed’s API server locally, and copying the OpenAPI / Swagger spec to the docs package.
1
Start API Server
Start the API server by running the following command:
2
Sync Open API
In a separate terminal, run the following command to copy the OpenAPI / Swagger spec to the docs package:
Note this command assumes you have jq installed, which formats the JSON output from the API server.
4
Add new endpoints to docs (optional)
Run the following command to add new endpoints to the docs:
Then add the new endpoints to the mint.json file.
mint.json
4
Run Docs
Run Dittofeed’s docs in local machine:
cd into docs directory
Run the mintlify dev server.