One can include js/css by placing them in /wwwroot and then using the InjectJavascript and InjectStylesheet options.
But how can I instead inject a file that exists as an embedded resource? It used to be possible (if I remember correctly), but I can't find out how to do it for the AspNetCore version of Swashbuckle.
(I'm not asking how to embed a file, but rather how to tell Swashbuckle to use it.)


