summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-11-20 21:19:30 +1100
committerGitHub <noreply@github.com>2023-11-20 21:19:30 +1100
commite4bf1d73f529d4aa5c158e91e65a59a991ce00cc (patch)
tree5b32c4eecf9e7ff929037589a281079432dbff55
parentd1878bf5acd48b4cd034de81d7ba521ad6db548a (diff)
refactor: generate (#6305)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
-rw-r--r--cmd/authelia-gen/cmd_docs_jsonschema.go6
-rw-r--r--cmd/authelia-gen/const.go2
-rw-r--r--cmd/authelia-scripts/cmd/gen.go2
-rw-r--r--docs/content/en/integration/memos/index.md2
-rw-r--r--docs/content/en/integration/openid-connect/budibase/index.md2
-rw-r--r--docs/content/en/integration/openid-connect/roundcube/index.md2
-rw-r--r--docs/content/en/integration/openid-connect/seafile/index.md2
-rw-r--r--docs/static/schemas/latest/json-schema/configuration.json2
-rw-r--r--docs/static/schemas/v4.38/json-schema/configuration.json2
9 files changed, 11 insertions, 11 deletions
diff --git a/cmd/authelia-gen/cmd_docs_jsonschema.go b/cmd/authelia-gen/cmd_docs_jsonschema.go
index 2f34221b3..f87f16148 100644
--- a/cmd/authelia-gen/cmd_docs_jsonschema.go
+++ b/cmd/authelia-gen/cmd_docs_jsonschema.go
@@ -308,13 +308,13 @@ func writeJSONSchema(schema *jsonschema.Schema, dir, version, file string) (err
return err
}
- if _, err = os.Stat(filepath.Join(dir, version, dirJSONSchema)); err != nil && os.IsNotExist(err) {
- if err = os.MkdirAll(filepath.Join(dir, version, dirJSONSchema), 0755); err != nil {
+ if _, err = os.Stat(filepath.Join(dir, version, pathJSONSchema)); err != nil && os.IsNotExist(err) {
+ if err = os.MkdirAll(filepath.Join(dir, version, pathJSONSchema), 0755); err != nil {
return err
}
}
- if f, err = os.Create(filepath.Join(dir, version, dirJSONSchema, file+extJSON)); err != nil {
+ if f, err = os.Create(filepath.Join(dir, version, pathJSONSchema, file+extJSON)); err != nil {
return err
}
diff --git a/cmd/authelia-gen/const.go b/cmd/authelia-gen/const.go
index be6bf7aba..733abad66 100644
--- a/cmd/authelia-gen/const.go
+++ b/cmd/authelia-gen/const.go
@@ -60,7 +60,7 @@ const (
)
const (
- dirJSONSchema = "jsonschema"
+ pathJSONSchema = "json-schema"
)
const (
diff --git a/cmd/authelia-scripts/cmd/gen.go b/cmd/authelia-scripts/cmd/gen.go
index 1c0bb2fc7..d4d02788a 100644
--- a/cmd/authelia-scripts/cmd/gen.go
+++ b/cmd/authelia-scripts/cmd/gen.go
@@ -7,5 +7,5 @@
package cmd
const (
- versionSwaggerUI = "5.9.0"
+ versionSwaggerUI = "5.10.0"
)
diff --git a/docs/content/en/integration/memos/index.md b/docs/content/en/integration/memos/index.md
index aefc92ba4..52e4db35c 100644
--- a/docs/content/en/integration/memos/index.md
+++ b/docs/content/en/integration/memos/index.md
@@ -2,7 +2,7 @@
title: "Memos"
description: "Integrating Memos with the Authelia OpenID Connect 1.0 Provider."
lead: ""
-date: 2023-11-10T21:51:47+10:00
+date: 2023-11-12T21:18:09+11:00
draft: false
images: []
menu:
diff --git a/docs/content/en/integration/openid-connect/budibase/index.md b/docs/content/en/integration/openid-connect/budibase/index.md
index 4a9c20535..c646f58c1 100644
--- a/docs/content/en/integration/openid-connect/budibase/index.md
+++ b/docs/content/en/integration/openid-connect/budibase/index.md
@@ -2,7 +2,7 @@
title: "Budibase"
description: "Integrating Budibase with the Authelia OpenID Connect 1.0 Provider."
lead: ""
-date: 2023-11-12T15:50:35+00:00
+date: 2023-11-16T06:16:54+11:00
draft: false
images: []
menu:
diff --git a/docs/content/en/integration/openid-connect/roundcube/index.md b/docs/content/en/integration/openid-connect/roundcube/index.md
index d5c2b141d..fb96321b1 100644
--- a/docs/content/en/integration/openid-connect/roundcube/index.md
+++ b/docs/content/en/integration/openid-connect/roundcube/index.md
@@ -2,7 +2,7 @@
title: "Roundcube"
description: "Integrating Roundcube and Dovecot with the Authelia OpenID Connect 1.0 Provider."
lead: ""
-date: 2023-10-23T15:16:47+02:00
+date: 2023-11-15T08:58:00+11:00
draft: true
images: []
menu:
diff --git a/docs/content/en/integration/openid-connect/seafile/index.md b/docs/content/en/integration/openid-connect/seafile/index.md
index 554882607..8bb3e7f88 100644
--- a/docs/content/en/integration/openid-connect/seafile/index.md
+++ b/docs/content/en/integration/openid-connect/seafile/index.md
@@ -2,7 +2,7 @@
title: "Seafile"
description: "Integrating Seafile with the Authelia OpenID Connect 1.0 Provider."
lead: ""
-date: 2023-10-18T15:16:47+02:00
+date: 2022-06-15T17:51:47+10:00
draft: false
images: []
menu:
diff --git a/docs/static/schemas/latest/json-schema/configuration.json b/docs/static/schemas/latest/json-schema/configuration.json
index 6da95b7ff..0ca18a2b2 100644
--- a/docs/static/schemas/latest/json-schema/configuration.json
+++ b/docs/static/schemas/latest/json-schema/configuration.json
@@ -897,7 +897,7 @@
"totp": {
"$ref": "#/$defs/TOTP",
"title": "TOTP",
- "description": "Time-based One Time Password Configuration"
+ "description": "Time-based One-Time Password Configuration"
},
"duo_api": {
"$ref": "#/$defs/DuoAPI",
diff --git a/docs/static/schemas/v4.38/json-schema/configuration.json b/docs/static/schemas/v4.38/json-schema/configuration.json
index 6da95b7ff..0ca18a2b2 100644
--- a/docs/static/schemas/v4.38/json-schema/configuration.json
+++ b/docs/static/schemas/v4.38/json-schema/configuration.json
@@ -897,7 +897,7 @@
"totp": {
"$ref": "#/$defs/TOTP",
"title": "TOTP",
- "description": "Time-based One Time Password Configuration"
+ "description": "Time-based One-Time Password Configuration"
},
"duo_api": {
"$ref": "#/$defs/DuoAPI",