-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I've got things wired up with Autofac now, and I'm getting the Link in the header, but when I try to view the docs I'm getting: Hydra.Discovery.SupportedProperties.ApiDocumentationException: Property System.String String is not included in the context
I've got a single class registered with the SupportedClass attribute, and the first property throws that exception. When I step into the code, it appears that the DefaultPropertyIdProvider is getting a ContextProvider of type NullContextProvider which appears to be hard-coded to return null.
[SupportedClass("http://example.api/o#TestItem")]
public class TestItem
{
public TestItem(string s)
{
String = s;
}
public string String { get; private set; }
public string String2 { get; set; }
}
Clearly I'm missing a vital step or two in configuring my components.