Problem: The wrappers reference a Kiota client that is generated separately. Nothing guarantees both come from the same OpenAPI document, path filters, or namespace if the docs drift, models go missing or change shape, and the mismatch only shows up at build time.
Solution: A driver script (same pattern as GenerateServiceModule.ps1) that filters the spec, runs a pinned kiota version, runs WrapperGenerator with matching arguments, and builds both outputs together. This also enables generating for APIs that have no existing SDK.
Problem: The wrappers reference a Kiota client that is generated separately. Nothing guarantees both come from the same OpenAPI document, path filters, or namespace if the docs drift, models go missing or change shape, and the mismatch only shows up at build time.
Solution: A driver script (same pattern as GenerateServiceModule.ps1) that filters the spec, runs a pinned kiota version, runs WrapperGenerator with matching arguments, and builds both outputs together. This also enables generating for APIs that have no existing SDK.