Skip to content

Remove rest proxy code #44660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Mar 31, 2025
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