bootstrap-elixir-openapi

Official

Generate a typed Elixir API client from OpenAPI.

Authoragoodway
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It removes the repetitive, error-prone work of hand-writing Elixir HTTP client functions, schema structs, and tests by generating them directly from an OpenAPI 3.x spec.

Core Features & Use Cases

  • Compile-time client generation: Produces endpoint functions, an HTTP client, and typed structs without runtime code generation.
  • Typed schema structs: Generates from_map/1 conversions for components.schemas, including nested $ref, anyOf/allOf, and array-of-ref cases.
  • Spec-driven tests: Adds unit and integration tests using mocked Req requests (via Mimic) to validate behavior and error handling.

Quick Start

Ask the AI to bootstrap a new Elixir client library from your OpenAPI 3.x spec by running /bootstrap-elixir-openapi and providing the API name, Elixir app/package name, module name, the spec path or URL, and the auth style.

Dependency Matrix

Required Modules

reqjasonmimic

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bootstrap-elixir-openapi
Download link: https://github.com/agoodway/GoodSkills/archive/main.zip#bootstrap-elixir-openapi

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.