postman-openapi-converter
Skill by ibrdot
Converts OpenAPI 3.x or Swagger 2.0 specs in YAML or JSON into Postman Collection v2.1 files that import directly. Aimed at developers who want a ready-to-use Postman collection from an existing API spec.
Install postman-openapi-converter
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.claude/skills && cp -r /tmp/swe-re-expert/skills/postman-openapi-converter ~/.claude/skills/postman-openapi-converterRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install postman-openapi-converter in Claude Code
git clone --depth 1 https://github.com/ibrdot/swe-re-expert /tmp/swe-re-expert && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/swe-re-expert/skills/postman-openapi-converter ~/.gemini/antigravity-cli/skills/postman-openapi-converterAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install postman-openapi-converter in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The postman-openapi-converter skill turns an OpenAPI 3.x or Swagger 2.0 spec, in YAML or JSON, into a Postman Collection v2.1 JSON file. It first detects the spec version, then maps each path and operation to a request, grouped into folders by tags. Parameters, request bodies, and saved example responses are carried over. Example bodies are generated from schemas, and $ref pointers are resolved inline.
Security schemes are mapped to Postman auth at collection or request level, using variables such as {{token}} instead of hardcoded values. The skill also writes a matching environment file and a conversion summary. The summary lists endpoints, folders, the detected auth type, and anything skipped or approximated. It suits developers and API teams who already have a spec and want a Postman collection to test with.
Written from the project's SKILL.md and checked against it.
What it can do
- Spec version detectionIdentifies whether the input is OpenAPI 3 or Swagger 2 and maps fields accordingly.
- Request generationCreates one Postman request per operation, using operationId or summary as the name.
- Folder groupingGroups requests into folders based on the spec's tags.
- Example body generationBuilds realistic example JSON bodies from schemas, with format-aware sample values.
- Auth mappingMaps bearer, basic, API key and OAuth2 schemes to Postman auth using variables.
- Environment fileProduces a companion environment.json with base_url and empty credential placeholders.
What you need
- An OpenAPI 3.x or Swagger 2.0 spec file in YAML or JSON
Try asking
- Convert my openapi.yaml into a Postman collection with folders by tag.
- Turn this swagger.json into an import-ready Postman Collection v2.1 file.
- Generate a Postman environment file for my OpenAPI spec's base URL and auth.
Good to know
- OAuth2 schemes need manual token setup.
- For allOf, oneOf and anyOf, only the first or primary schema is used for body generation.
- Partial specs are converted as far as possible, and missing sections are noted.
- The skill's metadata marks its risk level as critical.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/postman-openapi-converter/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to postman-openapi-converter
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
postman-openapi-converter: common questions
What spec formats does the postman-openapi-converter accept?
It accepts OpenAPI 3.x and Swagger 2.0 specs, in either YAML or JSON format.
Does it create a Postman environment as well as the collection?
Yes. It extracts variables such as base_url and auth placeholders into a companion environment.json file.
How does it handle authentication from the spec?
It maps security schemes to Postman auth and uses {{variables}} for tokens and keys rather than hardcoded values.
How do I install postman-openapi-converter?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is postman-openapi-converter free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is postman-openapi-converter safe to use?
It scores 45 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to postman-openapi-converter?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
