I have integrated swagger into my Web API/OData project using swashbuckle 5.x and swashbuckle-Odata. If I navigate to http://root_url/swagger I can see all available API documentation in one big list. Every thing works perfectly fine but I have given a list of Odata controllers and API(s) which I need to show in a separate list. I know this is something which I need to do by create a custom index.html for swagger and inject into swaggerconfig.cs like
c.CustomAsset("index", thisAssembly, "SwaggerUI_Config.SwaggerExtensions.index.html");
I have been researching on internet on how I can separate swagger documentation so that I can create a different HTML list and acheive my result, so far no luck. Has anyone done something similar? Can you please give me some suggestions or pointer where I need to begin?.
I'm trying to achive following structure on my swagger documentation.
+ Custom API list
+API Controller #1
> GET API
> POST API
> PUT API
> DELETE API
+API Controller #2
> GET API
> POST API
> PUT API
> DELETE API
+ All available API(s)
+API Controller #1
> GET API
> POST API
> PUT API
> DELETE API
+API Controller #2
> GET API
> POST API
> PUT API
> DELETE API
+API Controller #3
> GET API
> POST API
> PUT API
> DELETE API
