Lisa-Marie Thompson

Results 6 comments of Lisa-Marie Thompson

We are experiencing the same problem. Would be nice with some update. We are setting up dependency injection with AutoFaq.

I tried this but the swagger.json is not served on the relative path. ``` app.UsePathBase("/some/root/path"); app.UseMvc(); app.UseSwagger(); app.UseSwaggerUI(options => { options.SwaggerEndpoint("api/swagger.json", "My API V1"); }); ``` Then my swagger JSON...

I added the PreSerializeFilter from [#1298 (comment)](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1298#issuecomment-620269062) ``` if (!httpReq.Headers.ContainsKey("X-Original-Host")) return; var serverUrl = $"{httpReq.Headers["X-Original-Proto"]}://" + $"{httpReq.Headers["X-Original-Host"]}/" + $"{httpReq.Headers["X-Original-Prefix"]}"; swaggerDoc.Servers = new List() { new OpenApiServer { Url = serverUrl...

No. This is still an unresolved problem. :-/

Perhaps have a look at this as well https://github.com/meanin/azure-apim-vsts

did you see he seem to have a functionsv2 ? https://github.com/meanin/azure-apim-vsts/tree/apim_upgrade/apimfunctionv2versioned