调整swagger注解位置

This commit is contained in:
2025-09-12 20:32:29 +08:00
parent 0884e229fe
commit 52669e7055
5 changed files with 18 additions and 50 deletions

View File

@@ -1,21 +1,8 @@
{
"swagger": "2.0",
"info": {
"description": "这是一个用于管理猪场设备的后端服务。",
"title": "猪场管理系统 API",
"contact": {
"name": "Divano",
"url": "http://www.example.com",
"email": "divano@example.com"
},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0"
"contact": {}
},
"host": "localhost:8086",
"basePath": "/api/v1",
"paths": {
"/devices": {
"get": {