leotansingapore

Swagger — Testing skill for Claude Code

Testing community

Launch local Swagger UI for a service's OpenAPI spec.

How to install Swagger

Installs to ~/.claude/commands/leotansingapore-macro-swagger.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/leotansingapore/macro/HEAD/.claude/commands/swagger.md -o ~/.claude/commands/leotansingapore-macro-swagger.md

Restart Claude Code, or start a new session, for it to be picked up.

What Swagger does


name: swagger description: Launch local Swagger UI for a service's OpenAPI spec allowed-tools: Bash, Read, Write

Swagger UI Launcher

Launch a local Swagger UI to explore a service's OpenAPI specification.

Usage

/swagger 

Available Services

The OpenAPI specs are located at `apps/web/src/lib/service-clients/service-/openapi.json`:

  • auth - Authentication service
  • cognition - Cognition service
  • comms - Communications service
  • connection

Alternatives in Testing

  • Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
  • Marketing Skills Versions — Current versions of all skills 13.8k ★
  • Regen API — Regenerate the OpenAPI spec and web API client after server API changes 2.5k ★

Full documentation available on GitHub

View Source Repository