Class Inheritdoc.Issue9736.JsonApiOptions
- Namespace
 - BuildFromProject
 
- Assembly
 - BuildFromProject.dll
 
public sealed class Inheritdoc.Issue9736.JsonApiOptions : Inheritdoc.Issue9736.IJsonApiOptionsInheritance
Implements
Inherited Members
Properties
UseRelativeLinks
Whether to use relative links for all resources. false by default.
public bool UseRelativeLinks { get; set; }Property Value
Examples
options.UseRelativeLinks = true;
{
  "type": "articles",
  "id": "4309",
  "relationships": {
     "author": {
       "links": {
         "self": "/api/shopping/articles/4309/relationships/author",
         "related": "/api/shopping/articles/4309/author"
       }
     }
  }
}