Skip to content

Commit 2d7e2ae

Browse files
fix path generate
1 parent 2711260 commit 2d7e2ae

File tree

1 file changed

+1
-1
lines changed
  • client/deployment/src/main/resources/templates/libraries/microprofile

1 file changed

+1
-1
lines changed

client/deployment/src/main/resources/templates/libraries/microprofile/api.qute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public interface {classname} {
4343
@io.quarkiverse.openapi.generator.markers.OperationMarker(name="{defaultSecurityScheme}", openApiSpecId="{quarkus-generator.openApiSpecId}", operationId="{op.operationId}", method="{op.httpMethod}", path="{contextPath}{commonPath}{op.path.orEmpty}")
4444
{/if}
4545
@jakarta.ws.rs.{op.httpMethod}
46-
{#if op.subresourceOperation}
46+
{#if op.subresourceOperation || op.path eq '/'}
4747
@jakarta.ws.rs.Path("{op.path}")
4848
{/if}
4949
{#if op.hasConsumes}

0 commit comments

Comments
 (0)