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.
1 parent db731c5 commit 75b0615Copy full SHA for 75b0615
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