Arora, Siddhannt Thanks for providing the details and it looks like you are using AzureExtensions.Swashbuckle to generate Swagger UI in Azure Function.
If you are creating ASP.NET Core app for ACA, then you can integrate Swashbuckle
as described in doc: Get started with Swashbuckle and ASP.NET Core. You need to add UseSwagger()
and UseSwaggerUI()
in the middleware so that it generates JSON as well as Swagger UI. More detailed step-by-step guide is available in the doc including custom API info to be displayed in UI. I followed a sample available in https://github.com/Azure-Samples/dotNET-FrontEnd-to-BackEnd-on-Azure-Container-Apps/blob/main/src/Store.ProductApi/Program.cs (also https://azure.github.io/aca-dotnet-workshop/aca/01-deploy-api-to-aca/) and deployed the code (product) in ACA and able to see SwaggerUI like below:
I hope this helps and let me know if any questions.
If you found the answer to your question helpful, please take a moment to mark it as Yes
for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.