schema-type-name-sanitization

Community

Sanitize OpenAPI type names to avoid blank DTOs.

Authorchristianhelle
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Malformed OpenAPI schema names can collapse to empty generated C# type names, causing compilation failures and confusing errors in generated clients.

Core Features & Use Cases

  • Normalize trailing-dot and empty-tail OpenAPI keys to valid C# identifiers during code generation.
  • Prevent blank or duplicate type names by applying a safe, deterministic naming strategy that preserves existing valid names.
  • Integrate with OpenAPI-driven client generation workflows to produce consistent DTOs and interfaces.

Quick Start

Enable the normalization rule during OpenAPI processing to replace empty-tail names with stable identifiers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: schema-type-name-sanitization
Download link: https://github.com/christianhelle/refitter/archive/main.zip#schema-type-name-sanitization

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.