Open cfauchere opened 6 months ago
Hi,
/odata/Subscriptions/{key}/Networks(location=location)
is the proper function invocation.
/odata/Subscriptions/{key}/Networks?location=location
is an implicit parameter alias. You can check it here in the specification.
Both should work fine when making requests. I think that the team that works on the Open API integration decided that it's not good to clutter the spec with all possible invocation variants and they chose this one to be displayed.
As for the select without $, it should work because it's allowed but I would imagine that it should display $select which is the "offical" variant.
@cfauchere what do you mean bumping?
Hello @cfauchere I have the same question as @xuzhg. When you say "before bumping version", it's not clear what you're referring. Which version of which library did you bump to which other version?
You've also listed multiple libraries as dependencies. The Asp.Versioning.OData
libraries are a separate project maintained here: https://github.com/dotnet/aspnet-api-versioning.
According to the README of the project, it appears that the version of Asp.Versioning.OData.*
used with ASP.NET Core and OData is 8.x, not 7.x. Since you're presumably using ASP.NET Core OData 8.x, you may try updating to Asp.Versioning.OData.*
8.x and see whether that helps.
Assemblies affected
Describe the bug Before bumping version optional function parameter was passed as query but is not in path.
Data Model
EDM (CSDL) Model
Expected behavior Function parameters can be passed as query
Screenshots Before bumping
After bumping
![image](https://github.com/OData/AspNetCoreOData/assets/12868340/afa67f50-99bf-4132-ab05-c924cdc6bb52)
See that location was in query before
Bonus question
why
$select
is nowselect
?