
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
A Python module to convert Postman collections to OpenAPI (Swagger) format without any third-party dependencies.
pip install postman2openapi
from postman2openapi import PostmanToOpenAPIConverter, read_postman_collection, write_openapi_spec
# Read your Postman collection
collection_data = read_postman_collection("path/to/collection.json")
# Create converter instance
converter = PostmanToOpenAPIConverter()
# Convert to OpenAPI
openapi_spec = converter.parse_postman_collection(collection_data)
# Save as YAML (default) or JSON
write_openapi_spec(openapi_spec, "openapi_spec.yaml") # For YAML
write_openapi_spec(openapi_spec, "openapi_spec.json", format="json") # For JSON
To set up the development environment:
# Clone the repository
git clone https://github.com/Pulkit-Py/postman2openapi.git
cd postman2openapi
# Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Pulkit-Py
If you found this project helpful, consider:
Made with ❤️ by Pulkit-Py From 🇮🇳 India
FAQs
Convert Postman Collections to OpenAPI (Swagger) specification
We found that postman2openapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.