πŸš€ MicroRapid Quick Start Guide

⚑ The 30-Second Version

Turn any API into an executable CLI. One command. Instant power.

Supports Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1 specifications

npm install -g mrapids
mrapids init petstore --from-url https://petstore3.swagger.io/api/v3/openapi.json
mrapids run addPet -i

🎬 See it in Action

🎯 Why You’re Here

πŸ“š The Problem

5000-line API specs (Swagger/OpenAPI) that nobody reads

πŸ” The Pain

300+ endpoints you don't know exist

πŸš€ The Solution

One CLI that makes any API instantly usable

⚑ Installation

Quick Install

npm install -g mrapids

🍎 macOS

npm install -g mrapids

🐧 Linux

npm install -g mrapids

πŸͺŸ Windows

npm install -g mrapids

πŸƒ Your First API in 60 Seconds

⚑ Works with any OpenAPI spec (Swagger 2.0, OpenAPI 3.0, 3.1)

Step 1: Initialize (3 seconds)

mrapids init petstore --from-url https://petstore3.swagger.io/api/v3/openapi.json

What happens:

  • ✨ Downloads the API specification
  • πŸ” Discovers all operations automatically
  • πŸ“ Creates project structure
  • πŸš€ Ready to use immediately

Step 2: Discover (5 seconds)

# Find what you need
mrapids list --filter pet

# Output:
addPet       POST    /pet
findPetsByStatus  GET     /pet/findByStatus
updatePet    PUT     /pet
deletePet    DELETE  /pet/{petId}
β†’ 8 operations found

Step 3: Execute (10 seconds)

# Interactive mode generates perfect templates
mrapids run addPet -i

# Creates a JSON template with all parameters
# Edit it, then run:
mrapids run addPet --file pet.json

βœ… Pet added: {"id": 12345, "name": "Fluffy", "status": "available"}
πŸŽ‰ Success! You just integrated the Pet Store API in 18 seconds. No documentation needed.

πŸ§™ Power Features

πŸ” Smart Discovery

Find any operation instantly

mrapids list --filter user --method POST

πŸ“ Interactive Templates

Never forget parameters

mrapids run ComplexOp -i

πŸ”„ Team Workflows

Share via Git

mrapids collection run tests

πŸ” Secure Auth

Environment-based

export API_KEY="sk_..."
mrapids run SecureOp

πŸ” Preview Mode

See before sending

mrapids run DeleteUser --dry-run

πŸ€– AI Ready

MCP Agent compatible

mrapids agent start

πŸ’ͺ Real-World Workflows

Testing API Workflows

# pet-workflow.yaml
name: Pet Store Workflow
requests:
  - name: Add Pet
    operation: addPet
    save_as: pet
    
  - name: Find Pet
    operation: getPetById
    params:
      petId: "{{pet.id}}"
# Run the entire flow
mrapids collection run pet-workflow
βœ… All operations succeeded in 234ms

Bulk Operations

# Process CSV of pets
cat pets.csv | while read name status; do
  mrapids run addPet --param name="$name" --param status="$status"
done

πŸ† Success Stories

"Reduced API integration from 2 weeks to 2 hours"

β€” Engineering Lead, FinTech Startup

"Deleted 500 Postman collections. Everything in Git now."

β€” DevOps Team Lead

"Works with our legacy Swagger 2.0 specs and new OpenAPI 3.1"

β€” API Platform Team

πŸ“Š Quick Reference

What You Want Command Time
Initialize API (any spec format) mrapids init api-name --from-url url 3s
Find operations mrapids list --filter term 1s
See parameters mrapids show operation 1s
Generate template mrapids run operation -i 2s
Execute request mrapids run operation --file file 100ms
Preview request --dry-run 0s
Show as curl --as-curl 0s

🚦 Try These Right Now

1️⃣ GitHub API (OpenAPI 3.0)

mrapids init github \
  --from-url https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json
mrapids list --filter repo
mrapids run repos/get \
  --param owner=facebook \
  --param repo=react

2️⃣ JSONPlaceholder (Swagger 2.0)

mrapids init jsonplaceholder \
  --from-url https://jsonplaceholder.typicode.com/swagger.json
mrapids list --filter posts
mrapids run getPosts

3️⃣ Your API (Any Format)

# Works with Swagger 2.0, OpenAPI 3.0/3.1
mrapids init my-api \
  --from-url localhost:3000/swagger.json
mrapids doctor
mrapids run healthCheck

🎯 Your Learning Path

πŸ“˜ Level 1: Today

  • βœ“ Install mrapids
  • βœ“ Initialize first API
  • βœ“ Run 5 operations
  • βœ“ Save a collection

πŸ“— Level 2: This Week

  • Share collections via Git
  • Set up environments
  • Create test suites
  • Add to CI/CD

πŸ“™ Level 3: Next Week

  • Install MCP agent
  • Connect to AI
  • Set up policies
  • Automate workflows

πŸ“‹ Supported API Specifications

🟑 Swagger 2.0

Classic format, widely supported

mrapids init api --from-url \
  https://example.com/swagger.json

🟒 OpenAPI 3.0

Modern standard, rich features

mrapids init api --from-url \
  https://example.com/openapi.yaml

πŸ”΅ OpenAPI 3.1

Latest version, JSON Schema compatible

mrapids init api --from-url \
  https://example.com/openapi.json

πŸ”§ Universal Support

mrapids automatically detects and handles all major API specification formats - just provide the URL and it works.

πŸ’‘ Pro Tips

Speed Run Everything

# Alias for speed
alias mr='mrapids'
alias mrl='mrapids list --filter'
alias mrr='mrapids run'

Initialize and run in one line

mrapids init api β€”from-url url && mrapids run GetStatus

Test safely in production

mrapids run DeleteEverything β€”env prod β€”dry-run

πŸ†˜ Instant Troubleshooting

Problem Solution
"Command not found" npm install -g mrapids
"Invalid spec" mrapids doctor --fix
"Auth failed" export API_KEY=your_key
"Can't find operation" mrapids list

🌟 Join the Community

GitHub

github.com/microrapids/cli

⭐ npm star

Support

support@microrapid.io

πŸ’¬ Get help

Documentation

microrapid.io/docs

πŸ“š Deep dive

πŸš€ Ready to Transform Your API Workflow?

npm install -g mrapids && mrapids --help

No signups. No credit cards. Just instant API power.

Built with ❀️ by developers who were tired of slow APIs

</div>