Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,19 @@ static TestInterfaceClientService getNewInstance(HttpPipeline pipeline) {
}

@HttpRequestInformation(method = HttpMethod.POST, path = "my/uri/path", expectedStatusCodes = { 200 })
Response<Void> testMethod(@BodyParam("application/octet-stream") ByteBuffer request,
Response<Void> testMethod(@HostParam("uri") String uri,
@BodyParam("application/octet-stream") ByteBuffer request,
@HeaderParam("Content-Type") String contentType, @HeaderParam("Content-Length") Long contentLength);

@HttpRequestInformation(method = HttpMethod.POST, path = "my/uri/path", expectedStatusCodes = { 200 })
Response<Void> testMethod(@BodyParam("application/octet-stream") BinaryData data,
Response<Void> testMethod(@HostParam("uri") String uri, @BodyParam("application/octet-stream") BinaryData data,
@HeaderParam("Content-Type") String contentType, @HeaderParam("Content-Length") Long contentLength);

@HttpRequestInformation(method = HttpMethod.GET, path = "{nextLink}", expectedStatusCodes = { 200 })
Response<Void> testListNext(@PathParam(value = "nextLink", encoded = true) String nextLink);

@HttpRequestInformation(method = HttpMethod.GET, path = "my/uri/path", expectedStatusCodes = { 200 })
Void testMethodReturnsVoid();
Void testMethodReturnsVoid(@HostParam("uri") String uri);

@HttpRequestInformation(method = HttpMethod.GET, path = "kv/{key}", expectedStatusCodes = { 200 })
@UnexpectedResponseExceptionDetail(exceptionBodyClass = Error.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package io.clientcore.annotation.processor.test.implementation.models;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.fail;

public class TestInterfaceGenerationTests {
public class TestInterfaceServiceClientGenerationTests {
private static LocalTestServer server;
@BeforeAll
public static void startTestServer() {
Expand Down
Loading