Open daniecas opened 3 weeks ago
When using Swagger UI.
basePath
setting is rendered as following text.
Currently docfx don't render basePath
information and RestApiRootItemViewModel
don't hold this information.
So it can't render this information by docfx template customization only.
I thought, it requires following tasks to support basePath
rendering.
BaseUrl
property to RestApiRootItemViewModel
.BaseUrl
property at SwaggerModelConverter.FromSwaggerModel
.baseUrl
information.
3.1. default/partials/rest.tmpl.partial
3.2. `statictoc/partials/rest.tmpl.partialThank you @filzrev, I'm working on it, I'm going to create a PR for next week :-)
Describe the bug Even if you set basePath in the Swagger file the path is not rendered in the Html file generated.
To Reproduce Steps to reproduce the behavior:
Expected behavior Without the base path the api path showed is wrong , so I think it's important to show the basePath on the top of the html generated
Context:
Additional context I tried it with 2 different template (modern and default).