Skip to content

Commit a5bf3d4

Browse files
authored
Merge pull request #62 from ruhan1/main-getm
[migration] change the test api to GET for easy access
2 parents b3f30d6 + 8c56816 commit a5bf3d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/commonjava/indy/service/archive/jaxrs/ArchiveManageResources.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public Uni<Response> cleanup( final @Context UriInfo uriInfo )
236236
@Operation( description = "Create a test archive with timestamp suffix for testing purposes" )
237237
@APIResponse( responseCode = "200", description = "Test archive created successfully" )
238238
@APIResponse( responseCode = "500", description = "Failed to create test archive - directory may not be writable" )
239-
@POST
239+
@GET
240240
@Path( "test" )
241241
@Produces( APPLICATION_JSON )
242242
public Uni<Response> createTestArchive( final @Context UriInfo uriInfo )

0 commit comments

Comments
 (0)