smithery/mindhiveoy

openapi-gen

Generate and validate Python clients from OpenAPI specs. Use for generation, validation, or troubleshooting.

Installation

$ npx skills add smithery/mindhiveoy --skill openapi-gen

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash, Read, Glob, Grep

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,680 B
  • docs SUMMARY.md 127 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

OpenAPI Client Generation

Workflow

  1. Activate: source .venv/bin/activate
  2. Generate: pyopenapi-gen <spec> --project-root <path> --output-package <pkg> --force --verbose
  3. Validate:

- Check warnings in output - Test: python -c "from <pkg> import *" - Type check: mypy <path>/<pkg> --ignore-missing-imports

Options

Option Purpose
--force Overwrite existing files
--no-postprocess Skip Black/mypy (faster iteration)
--core-package Shared core for multi-client setups
--verbose Show detailed progress

Common Issues

Symptom Fix
Import error Check --project-root and --output-package alignment
Missing module Check --verbose for cycle warnings
Type error Review OpenAPI spec
Empty dataclass Ensure schema has type field

Multi-Client Setup

For shared core module:

# First client with core
pyopenapi-gen api1.yaml --project-root . --output-package clients.api1 --core-package clients.core

# Additional clients sharing core
pyopenapi-gen api2.yaml --project-root . --output-package clients.api2 --core-package clients.core