Skip to main content

Import and Export Reference

Nidra imports API definitions and Postman data, exports API documentation, and generates code snippets for individual requests.

Importing​

  • Postman collections: Import Collection v2.1 JSON files.
  • Postman environments: Import Postman Environment JSON files.
  • Swagger/OpenAPI: Import Swagger 2.0 and OpenAPI 3.x definitions, including 3.0 and 3.1. The importer recognizes Swagger version strings beginning with 2 and OpenAPI version strings beginning with 3.

See the Postman import tutorial and Swagger import tutorial for the import workflow.

Exporting Documentation​

Open the Settings menu and choose Export Documentation…. Select the collections to document and an output format:

FormatOutput
HTMLAPI documentation as an HTML page
GitHub MarkdownMarkdown documentation for a repository or wiki; select Markdown in the dialog
PDFAPI documentation as a PDF document

Encrypted values are always masked in exported documentation.

Request Code Snippets​

Open a request and choose Generate code snippet. In the Code Snippet dialog, select a language and copy the snippet to your clipboard:

  • cURL
  • JavaScript
  • Python
  • C#
  • PowerShell

Your data is already files​

Collections, environments and Conduits are stored as plain JSON files in your workspace's data folder or its Team Sync folder. Copy or back up those files, or share them through the Team Sync repository. Environment values marked Encrypted remain encrypted inside the JSON files.

See Also​