How to export your APIs' definition files?
To export your Postman Collection as a collection file, follow these steps:
Click the options menu next to your API collection in Postman.

Choose Export. Click Export in the dialog box that opens.

Change the save file location and click Save.

To export your Postman environment variables as a Environments file, follow these steps:
Select the environment you want to share in the selector in the top right corner.

Click the Environment quick look button.

Click Edit

Click the options menu and choose Export

Change the save file location and click Save.

To export your APIs as a OpenAPI Document, follow these steps:
Login to you Swagger/OpenAPI platform
Scroll to the export section at the bottom

Right-click json and select Download Linked File
Updated on: 18/07/2023
Thank you!