From fb1ed2a2a300e63780fc12e69b3acfee6d8e8793 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 11 Nov 2020 23:54:34 +0800 Subject: [PATCH] doc: update swagger contact email. --- .../halo/app/config/SwaggerConfiguration.java | 2 +- src/test/resources/wordpressdemo.xml | 143 ------------------ 2 files changed, 1 insertion(+), 144 deletions(-) delete mode 100644 src/test/resources/wordpressdemo.xml diff --git a/src/main/java/run/halo/app/config/SwaggerConfiguration.java b/src/main/java/run/halo/app/config/SwaggerConfiguration.java index e87cf19e3a..09ef893343 100644 --- a/src/main/java/run/halo/app/config/SwaggerConfiguration.java +++ b/src/main/java/run/halo/app/config/SwaggerConfiguration.java @@ -169,7 +169,7 @@ private ApiInfo apiInfo() { .description("Documentation for Halo API") .version(HALO_VERSION) .termsOfServiceUrl("https://github.com/halo-dev") - .contact(new Contact("halo-dev", "https://github.com/halo-dev/halo/issues", "i#ryanc.cc")) + .contact(new Contact("halo-dev", "https://github.com/halo-dev/halo/issues", "hi@halo.run")) .license("GNU General Public License v3.0") .licenseUrl("https://github.com/halo-dev/halo/blob/master/LICENSE") .build(); diff --git a/src/test/resources/wordpressdemo.xml b/src/test/resources/wordpressdemo.xml deleted file mode 100644 index c6fce14860..0000000000 --- a/src/test/resources/wordpressdemo.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - WordPress Demo - http://148.70.10.235 - 又一个WordPress站点 - Mon, 08 Jul 2019 07:27:10 +0000 - zh-CN - 1.2 - http://148.70.10.235 - http://148.70.10.235 - - - 1 - - - - - - - - - https://wordpress.org/?v=4.8 - - - 世界,您好! - http://148.70.10.235/index.php/2019/07/08/hello-world/ - Mon, 08 Jul 2019 03:10:55 +0000 - - http://148.70.10.235/?p=1 - 123123131 - hello二级标题 -
    -
  • list1
  • -
  • list2
  • -
  • list3
  • -
-

hello 三级标题

-  -
daidjoadoiajdoijo这是引用 - - 
]]>
- - 1 - - - - - - - 0 - 0 - - - 0 - - - - - - - - - - - - - - 1 - - - https://wordpress.org/ - - - - Gravatar。]]> - - - 0 - 0 - - - 2 - - - - - - - - - - 1 - 1 - -
- - 这是文章2222 - http://148.70.10.235/index.php/2019/07/08/%e8%bf%99%e6%98%af%e6%96%87%e7%ab%a02222/ - Mon, 08 Jul 2019 07:20:18 +0000 - - http://148.70.10.235/?p=6 - dadadadada - 三级标题 -
    -
  • 列表
  • -
  • list2
  • -
  • list3
  • -
- ]]>
- - 6 - - - - - - - 0 - 0 - - - 0 - - - - - - - - - -
-
-