Overlays let you customize an OpenAPI spec for SDK generation without modifying the source. This skill covers creating overlay files, applying them to specs, and using them to fix validation errors.
| Target spec | Yes | OpenAPI spec to customize or fix | | Customizations | Depends | Changes to apply (groups, names, retries, descriptions) | | Overlay file | Depends | Existing overlay to apply (for apply workflow) | | Lint output | Helpful | Validation errors to fix (for fix workflow) |
| Overlay file | YAML file with JSONPath-targeted changes | | Modified spec | Transformed OpenAPI spec (when applying) |
Da utilizzare durante la creazione, l'applicazione o l'utilizzo di overlay per personalizzare la generazione dell'SDK senza modificare le specifiche di origine. Si attiva su "crea overlay", "applica overlay", "file overlay", "personalizza SDK", "impossibile modificare le specifiche", "estensioni x-speakeasy", "correzione con overlay", "correzione overlay", "applicazione overlay" Fonte: speakeasy-api/agent-skills.