fix: Supplement Swagger documentation

This commit is contained in:
jerry-yuan
2026-01-31 14:17:05 +00:00
parent 2b6a617599
commit 054742539f
5 changed files with 6 additions and 1 deletions

View File

@@ -144,6 +144,7 @@
}, },
"trust_forwarded_proto":{ "trust_forwarded_proto":{
"type": "boolean", "type": "boolean",
"description": "Trust the forwarded headers",
"example": false "example": false
}, },
"certificate": { "certificate": {

View File

@@ -58,7 +58,8 @@
"enabled": true, "enabled": true,
"locations": [], "locations": [],
"hsts_enabled": false, "hsts_enabled": false,
"hsts_subdomains": false "hsts_subdomains": false,
"trust_forwarded_proto": false
} }
] ]
} }

View File

@@ -56,6 +56,7 @@
"locations": [], "locations": [],
"hsts_enabled": false, "hsts_enabled": false,
"hsts_subdomains": false, "hsts_subdomains": false,
"trust_forwarded_proto": false,
"owner": { "owner": {
"id": 1, "id": 1,
"created_on": "2025-10-28T00:50:24.000Z", "created_on": "2025-10-28T00:50:24.000Z",

View File

@@ -125,6 +125,7 @@
"locations": [], "locations": [],
"hsts_enabled": false, "hsts_enabled": false,
"hsts_subdomains": false, "hsts_subdomains": false,
"trust_forwarded_proto": false,
"owner": { "owner": {
"id": 1, "id": 1,
"created_on": "2025-10-28T00:50:24.000Z", "created_on": "2025-10-28T00:50:24.000Z",

View File

@@ -122,6 +122,7 @@
"locations": [], "locations": [],
"hsts_enabled": false, "hsts_enabled": false,
"hsts_subdomains": false, "hsts_subdomains": false,
"trust_forwarded_proto": false,
"certificate": null, "certificate": null,
"owner": { "owner": {
"id": 1, "id": 1,