basepath value repeats in paths section
mercanil opened this issue · 0 comments
mercanil commented
I am working on a spring boot project. I followed the doc and added basepath but in the paths section basepath repeats again. I wanted to remove repeating parts from paths but it doesn't work with basePath
<apiSource>
<springmvc>true</springmvc>
<locations>
<location>com.XXX</location>
</locations>
<swaggerDirectory>${swagger.directory}</swaggerDirectory>
<swaggerFileName>${swagger.filename}</swaggerFileName>
<swaggerApiReader>com.github.kongchen.swagger.docgen.reader.SpringMvcApiReader</swaggerApiReader>User
<outputFormats>yaml</outputFormats>
<attachSwaggerArtifact>true</attachSwaggerArtifact>
<basePath>/c/u/</basePath>
</apiSource>
swagger: "2.0"
info:
description: "Desc"
version: "1.1.1"
title: "Title"
basePath: "/c/u/"
paths:
/c/u/:
get:
summary: "Get list of registered users"
Thank You