Open BrandU opened 11 months ago
Hey David,
Found a way how to configure the PathStyle.
HttpService httpService = new ApacheHttpClientHttpService(new Path(ugkkAPIUrl, PathStyle.IDENTIFIERS_IN_ROUND_BRACKETS), this::createClient, (url, m) -> m);
B.
Yep, that looks like it. This is similar (and shows setting of PathStyle):
Hey David,
Quick question - is this somehow achievable using the generated client:
So desired HTTP request form:
{serviceUri}/odata/Constructions(1296481)....
OData generated client by your generator produces:
{serviceUri}/odata/Constructions/1296481/....
For the invocation looking like this:
ugkkClient.constructions(id).select("Id").expand(...)...
It seems that OData standard itself implicitly goes with the 1st form: link (see step 2)
Am I doing something wrong here?
Thank you!