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

chore(java): Test java inline path parameters #5438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ajgateno
Copy link
Member

This PR adds a test to verify that the Java SDK generator is handling inline path parameters correctly

@ajgateno ajgateno requested a review from dsinghvi as a code owner December 18, 2024 19:56
return getMovie(movieId, request, null);
}

public Movie getMovie(String movieId, GetMovieRequest request, RequestOptions requestOptions) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amckinney Looks like this was already implemented. If we want, we can make this test more general and run it on other generators to see which ones we're missing to support this feature.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case, we actually want movieId to be included in GetMovieRequest. That's what in-lined in the request is referring to.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, will get on this then!

@ajgateno ajgateno requested a review from amckinney December 18, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants