What problem does it solve?
Regenerating the azure-search-documents SDK with tsp-client often produces compilation errors because JavaParser-based customizations in SearchCustomizations.java break against changed generated code, and hand-written wrapper methods fall out of sync with regenerated signatures. This Skill provides search-specific diagnosis and repair guidance that generic generation tools cannot handle.
Core Features & Use Cases
- Error Diagnosis After Regeneration: Categorizes compilation errors by location (generated @Generated methods, hand-written wrappers, or hand-written files) and routes each to the correct fix location.
- Customization Maintenance: Documents all five customization methods in SearchCustomizations.java, including the fragile hideWithResponseBinaryDataApis rewiring and duplicate enum constant risks in includeOldApiVersions.
- Service Version Verification: Guides validation of SearchServiceVersion.getLatest() and old API version lists when a new API version is released.
- Use Case: After running tsp-client update for a new Azure Search API version, the build fails with duplicate enum constants and cross-package import errors. Use this Skill to identify that the generator now produces a version still listed in includeOldApiVersions() and that hideWithResponseBinaryDataApis created mismatched imports, then apply the documented fixes.
Quick Start
Regenerate the azure-search-documents SDK and help me diagnose and fix the resulting build errors in SearchCustomizations.java.