Skip to content

Commit e81296a

Browse files
committed
feat(schemas): remove dockerfile + a few changes
1 parent 1c878be commit e81296a

20 files changed

+367
-413
lines changed

Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import os
2-
import json
3-
import jsonschema
41
from jsonschema import validate
2+
from jsonschema.exceptions import ValidationError
53

64

75
def validate_schemas(params, schema):
86
try:
97
validate(instance=params, schema=schema)
10-
except jsonschema.exceptions.ValidationError as e:
8+
except ValidationError as e:
119
print(400, f"Validation error: {e.message}")
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)