Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java generation throws no-corresponding-method-param, previously worked #3017

Closed
glharper opened this issue Jan 22, 2025 · 1 comment
Closed

Comments

@glharper
Copy link
Member

Running "tsp-client update" against these TypeSpec routes I'm seeing this error:

error @azure-tools/typespec-client-generator-core/no-corresponding-method-param: Missing "completeRequest" method parameter in method "complete", when "completeRequest" must be sent to the service. Add a parameter named "completeRequest" to the method.
error @azure-tools/typespec-client-generator-core/no-corresponding-method-param: Missing "embedRequest" method parameter in method "embed", when "embedRequest" must be sent to the service. Add a parameter named "embedRequest" to the method.
error @azure-tools/typespec-client-generator-core/no-corresponding-method-param: Missing "embedRequest1" method parameter in method "embed", when "embedRequest1" must be sent to the service. Add a parameter named "embedRequest1" to the method.

As of six months ago, auto gen worked from that spec. What am I doing wrong?

@glharper
Copy link
Member Author

For anyone else with this issue, see here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant