This commit is contained in:
aichy 2022-12-21 15:26:09 +08:00
parent 92d11dfa9e
commit b4366de7e6
3 changed files with 3 additions and 31 deletions

View File

@ -6999,7 +6999,7 @@ const docTemplate = `{
"login": {
"$ref": "#/definitions/schema.SiteLoginResp"
},
"site__seo": {
"site_seo": {
"$ref": "#/definitions/schema.SiteSeoReq"
},
"theme": {
@ -7011,7 +7011,6 @@ const docTemplate = `{
"type": "object",
"required": [
"language",
"theme",
"time_zone"
],
"properties": {
@ -7019,10 +7018,6 @@ const docTemplate = `{
"type": "string",
"maxLength": 128
},
"theme": {
"type": "string",
"maxLength": 128
},
"time_zone": {
"type": "string",
"maxLength": 128
@ -7033,7 +7028,6 @@ const docTemplate = `{
"type": "object",
"required": [
"language",
"theme",
"time_zone"
],
"properties": {
@ -7041,10 +7035,6 @@ const docTemplate = `{
"type": "string",
"maxLength": 128
},
"theme": {
"type": "string",
"maxLength": 128
},
"time_zone": {
"type": "string",
"maxLength": 128

View File

@ -6987,7 +6987,7 @@
"login": {
"$ref": "#/definitions/schema.SiteLoginResp"
},
"site__seo": {
"site_seo": {
"$ref": "#/definitions/schema.SiteSeoReq"
},
"theme": {
@ -6999,7 +6999,6 @@
"type": "object",
"required": [
"language",
"theme",
"time_zone"
],
"properties": {
@ -7007,10 +7006,6 @@
"type": "string",
"maxLength": 128
},
"theme": {
"type": "string",
"maxLength": 128
},
"time_zone": {
"type": "string",
"maxLength": 128
@ -7021,7 +7016,6 @@
"type": "object",
"required": [
"language",
"theme",
"time_zone"
],
"properties": {
@ -7029,10 +7023,6 @@
"type": "string",
"maxLength": 128
},
"theme": {
"type": "string",
"maxLength": 128
},
"time_zone": {
"type": "string",
"maxLength": 128

View File

@ -1292,7 +1292,7 @@ definitions:
$ref: '#/definitions/schema.SiteInterfaceResp'
login:
$ref: '#/definitions/schema.SiteLoginResp'
site__seo:
site_seo:
$ref: '#/definitions/schema.SiteSeoReq'
theme:
$ref: '#/definitions/schema.SiteThemeResp'
@ -1302,15 +1302,11 @@ definitions:
language:
maxLength: 128
type: string
theme:
maxLength: 128
type: string
time_zone:
maxLength: 128
type: string
required:
- language
- theme
- time_zone
type: object
schema.SiteInterfaceResp:
@ -1318,15 +1314,11 @@ definitions:
language:
maxLength: 128
type: string
theme:
maxLength: 128
type: string
time_zone:
maxLength: 128
type: string
required:
- language
- theme
- time_zone
type: object
schema.SiteLegalReq: