feat: add swagger

This commit is contained in:
landaiqing
2024-07-31 18:05:47 +08:00
parent ff0fddd5c3
commit c187b102ed
9 changed files with 214 additions and 26 deletions

14
docs/swagger.yaml Normal file
View File

@@ -0,0 +1,14 @@
info:
contact: {}
paths:
/user/getUserList:
get:
responses:
"200":
description: code","message"}
schema:
type: string
summary: 所有用户
tags:
- 用户模块
swagger: "2.0"