We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db731c5 + d402bf2 commit 1e3167eCopy full SHA for 1e3167e
generator-core/src/main/java/io/dinject/webroutegen/openapi/MethodDocBuilder.java
@@ -44,7 +44,9 @@ public void build() {
44
operation.setDeprecated(true);
45
}
46
47
- PathItem pathItem = ctx.pathItem(methodReader.getFullPath());
+ String path = methodReader.getFullPath().replaceAll("(:)([^/]+)", "{$2}");
48
+ PathItem pathItem = ctx.pathItem(path);
49
+
50
switch (methodReader.getWebMethod()) {
51
case GET:
52
pathItem.setGet(operation);
0 commit comments