Skip to content

Commit

Permalink
fix files
Browse files Browse the repository at this point in the history
  • Loading branch information
heliang666s committed Jan 15, 2025
1 parent 1bd6821 commit 965021b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

public interface DemoService {

String hello(String name);

String hello(User user, int count);

String helloUser(User user);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
@DubboService
public class DemoServiceImpl implements DemoService {

@Override
public String hello(String name) {
return "Hello " + name;
}

@Override
public String hello(User user, int count) {
return "Hello " + user.getTitle() + ". " + user.getName() + ", " + count;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ public void helloWithRest() {
Assert.assertNotNull("OpenAPI documentation response should not be null", result);
Assert.assertTrue(result.contains("/org.apache.dubbo.rest.demo.DemoService/hello"));
Assert.assertTrue(result.contains("/org.apache.dubbo.rest.demo.DemoService/helloUser"));
Assert.assertTrue(result.contains("/org.apache.dubbo.rest.demo.DemoService/hi"));
}
}

0 comments on commit 965021b

Please sign in to comment.