From 9867f6d5c5bccfe52b878c344c536905dd6b309e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 09 六月 2022 08:48:06 +0800 Subject: [PATCH] 1. 接口文档自动输出 --- src/main/resources/application.yml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 34d07b4..af25bea 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -77,4 +77,7 @@ documentation: swagger: v2: - enabled: false + enabled: true +# Swagger json url address +# etc. https://petstore.swagger.io/ +swagger.url: http://localhost:8080/v3/swagger.json \ No newline at end of file -- Gitblit v1.9.3