Skip to content

Commit

Permalink
chore: change schema url
Browse files Browse the repository at this point in the history
  • Loading branch information
dantetemplar committed Feb 25, 2024
1 parent cbce352 commit 06cfed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$schema: http://json-schema.org/draft-07/schema#
$schema: https://json-schema.org/draft-07/schema
properties:
APP_ROOT_PATH:
default: ''
Expand Down
2 changes: 1 addition & 1 deletion src/config_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def from_yaml(cls, path: Path) -> "Settings":
def save_schema(cls, path: Path) -> None:
with open(path, "w", encoding="utf-8") as f:
schema = {
"$schema": "http://json-schema.org/draft-07/schema#",
"$schema": "https://json-schema.org/draft-07/schema",
**cls.model_json_schema(),
}
yaml.dump(schema, f, sort_keys=False)

0 comments on commit 06cfed9

Please sign in to comment.