Skip to content

odata.context doesn't include group prefix #2873

@MFernando-MSFT

Description

@MFernando-MSFT

I'm configuring OData inside of a group prefix
configure.MapGroup("/mygroup").MapODataRoute("routename", "routeprefix", ...)

With that I can call the API on
https://example.com/mygroup/routeprefix/etcs('...')

but the result I get has the field @odata.context with:
https://example.com/routeprefix/#metadata#etcs/$entity

instead of
https://example.com/mygroup/routeprefix/#metadata#etcs/$entity

In other words, the prefix I created with MapGroup (/mygroup) isn't present on the odata.context response.

I'm using OData 7.7.7

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions