This is an automated email from the ASF dual-hosted git repository.

duhengforever pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-schema-registry.git


The following commit(s) were added to refs/heads/main by this push:
     new 2f6300d  [docs] update contact info in swagger config
     new b4311c5  Merge pull request #9 from ferrirW/modify-contact-info
2f6300d is described below

commit 2f6300de6df44a02c671b5f343b7f61986c8743c
Author: fan <[email protected]>
AuthorDate: Thu Jul 28 15:54:39 2022 +0800

    [docs] update contact info in swagger config
---
 .../schema/registry/core/config/SwaggerConfig.java | 25 +++++++++++-----------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git 
a/core/src/main/java/org/apache/rocketmq/schema/registry/core/config/SwaggerConfig.java
 
b/core/src/main/java/org/apache/rocketmq/schema/registry/core/config/SwaggerConfig.java
index 347176a..b5aeed4 100644
--- 
a/core/src/main/java/org/apache/rocketmq/schema/registry/core/config/SwaggerConfig.java
+++ 
b/core/src/main/java/org/apache/rocketmq/schema/registry/core/config/SwaggerConfig.java
@@ -54,7 +54,7 @@ public class SwaggerConfig {
 
     @Bean
     public Docket docket(Environment environment) {
-        Profiles profiles = Profiles.of("dev","test");
+        Profiles profiles = Profiles.of("dev", "test");
         boolean isEnable = environment.acceptsProfiles(profiles);
 
         return new Docket(DocumentationType.OAS_30)
@@ -67,21 +67,20 @@ public class SwaggerConfig {
 
     private ApiInfo apiInfo(){
 
-        //作者信息
         Contact contact = new Contact(
-                "王帆",
-                "[email protected]",
-                "[email protected]");
+            "Apache rocketmq-schema-registry",
+            "https://github.com/apache/rocketmq-schema-registry";,
+            "");
 
         return new ApiInfo(
-                "RocketMQ Schema Registry",
-                "RocketMQ Schema Registry Swagger API Document",
-                "V1.0",
-                "",
-                contact,
-                "Apache 2.0",
-                "http://www.apache.org/licenses/LICENSE-2.0";,
-                new ArrayList<>());
+            "RocketMQ Schema Registry",
+            "RocketMQ Schema Registry Swagger API Document",
+            "V1.0",
+            "",
+            contact,
+            "Apache 2.0",
+            "http://www.apache.org/licenses/LICENSE-2.0";,
+            new ArrayList<>());
     }
 
     @Bean

Reply via email to