Skip to content

Commit

Permalink
release 3.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayi committed Jan 31, 2024
1 parent e722d08 commit 4288510
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ Dubbo |ˈdʌbəʊ| 是阿里巴巴提供的分布式框架,Swagger围绕着Ope
## SpringBoot
`@EnableDubboSwagger`开启dubbo的swagger文档。

```java
@EnableDubboSwagger
public class Application {

public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
```

参见[spring-boot示例](swagger-dubbo-example/dubbo-provider-springboot)

## swagger-ui查看文档
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@SpringBootApplication
@EnableDubbo
@EnableDubboSwagger
//@ComponentScan(basePackages = {"com.deepoove.swagger.dubbo.config", "com.deepoove.swagger.dubbo.web"})
public class Application {

public static void main(String[] args) {
Expand Down

0 comments on commit 4288510

Please sign in to comment.