Closed
Description
Description
In the GettingStarted App if you set RelativeLinks = true;
the links in response do not include the namespace. Should it not return "self": "api/people"
?
services.AddJsonApi<SampleDbContext>(options =>
{
options.Namespace = "api";
options.RelativeLinks = true;
});
{
"links": {
"self": "/people"
},
"data": [
{
"type": "people",
"id": "1",
"attributes": {
"name": "John Doe"
},
"relationships": {
"articles": {
"links": {
"self": "/people/1/relationships/articles",
"related": "/people/1/articles"
...
...
Environment
- JsonApiDotNetCore Version: master
- Other Relevant Package Versions: core 3.1
Metadata
Metadata
Assignees
Labels
No labels