Back to skills
SKILL.md
Create Openapi Overlay
ASecurityUse when you need to customize SDK generation without editing the source spec, or can't modify the original OpenAPI file
- 30 stars
- 0 votes
- 0 copies
- 0 views
- Added November 12, 2026
Works with
Security analysis
100/100npx -y skills add majiayu000/claude-skill-registry-data --skill create-openapi-overlay --agent claude-codeAre you the author of Create Openapi Overlay?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-create-openapi-overlay-claude-skill-registry-data)---
name: create-openapi-overlay
description: Use when you need to customize SDK generation without editing the source spec, or can't modify the original OpenAPI file
---
# create-openapi-overlay
Overlays let you customize an OpenAPI spec for SDK generation without modifying the source.
## Create Overlay Template
```bash
speakeasy overlay create -s <spec-path> -o <output-path>
```
## When to Use Overlays
**Overlays are great for:**
- Renaming operations (x-speakeasy-name-override)
- Adding descriptions/summaries
- Grouping operations (x-speakeasy-group)
- Adding retry configuration
- Marking endpoints as deprecated
- Adding SDK-specific extensions
- Fixing spec issues without modifying the source
- Adding new endpoints or schemas
- Making portable patches that work across spec versions
**Overlays cannot easily handle:**
- Deduplication of schemas (requires structural analysis)
## Example Overlay
```yaml
overlay: 1.0.0
info:
title: SDK Customizations
version: 1.0.0
actions:
- target: "$.paths['/users'].get"
update:
x-speakeasy-group: users
x-speakeasy-name-override: list
- target: "$.paths['/users'].post"
update:
x-speakeasy-group: users
x-speakeasy-name-override: create
- target: "$.paths['/users/{id}'].get"
update:
x-speakeasy-group: users
x-speakeasy-name-override: get
- target: "$.paths['/users/{id}'].delete"
update:
x-speakeasy-group: users
x-speakeasy-name-override: delete
deprecated: true
```
This produces: `sdk.users.list()`, `sdk.users.create()`, `sdk.users.get()`, `sdk.users.delete()`
## JSONPath Targeting
| Target | Selects |
|--------|---------|
| `$.paths['/users'].get` | GET /users operation |
| `$.paths['/users/{id}'].*` | All operations on /users/{id} |
| `$.components.schemas.User` | User schema |
| `$.info` | API info object |
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.