mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
make version for path come from the middleware spec, in support of application-versions in addition to middleware versions
This commit is contained in:
@ -103,7 +103,7 @@ public class QMiddlewareApiSpecHandler
|
|||||||
for(AbstractMiddlewareVersion middlewareSpec : middlewareVersionList)
|
for(AbstractMiddlewareVersion middlewareSpec : middlewareVersionList)
|
||||||
{
|
{
|
||||||
String version = middlewareSpec.getVersion();
|
String version = middlewareSpec.getVersion();
|
||||||
String versionPath = "/" + basePath + "/" + version;
|
String versionPath = "/" + basePath + middlewareSpec.getVersionBasePath();
|
||||||
ApiBuilder.get(versionPath + "/", context -> doSpecHtml(context, version));
|
ApiBuilder.get(versionPath + "/", context -> doSpecHtml(context, version));
|
||||||
|
|
||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user