If you have path as your query parameter, code gen generates non compilable Java client.
2.2.3
"parameters": [
{
"name": "path",
"in": "query",
"description": "path",
"required": false,
"type": "string"
},
String path = UriComponentsBuilder.fromPath("/fieldchanges").buildAndExpand(uriVariables).toUriString();
@katilius Have you tried the localVariablePrefix option?
Oh, I've missed this one. With localVariablePrefix it does compile.
Although, probably it needs better documentation for that kind of cases.
Please feel free to submit a PR to improve the documentation :)