public static NancyInternalConfiguration WithOpenApi(this NancyBootstrapperBase <TinyIoCContainer> bootstrapper, NancyConventions conventions, TinyIoCContainer container) { conventions.WithOpenApi(); container.WithOpenApi(); return(NancyInternalConfiguration.WithOverrides(nic => nic.ViewLocationProvider = typeof(ResourceViewLocationProvider))); }