Options
For some configuration you can pass a HypermediaExtensionsOptions object to AddHypermediaExtensions method.
-
ReturnDefaultRouteForUnknownHtoif set totruetheIHypermediaRouteResolverwill return a default route (see:DefaultRouteSegmentForUnknownHto) if a HTO’s route is unknown. This is useful during development time when first writing some HTO’s and not all controllers are implemented. Default isfalse. -
DefaultRouteSegmentForUnknownHtoastringwhich will be appended to<scheme>://<authority>/as default route. -
AutoDeliverJsonSchemaForActionParameterTypes: if set totrue(default) the routes to action parameters (implementingIHypermediaActionParameter) will be generated automatically except when there is a explicit rout created. -
ImplicitHypermediaActionParameterBinders: if set totrue(default) actions receiving aIHypermediaActionParameterwill have a automatic binder added. The binder allows to use the (obsolete)attribute. See: URL key extractionKeyFromUriAttribute