Skip to content
Snippets Groups Projects
Commit 9cc0ae43 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Typo

parent a252ccbf
No related branches found
No related tags found
2 merge requests!39Release 0.4.0,!33F json schema datamodel
Pipeline #19465 failed
......@@ -519,7 +519,7 @@ class JsonSchemaParser(Parser):
def _treat_element(self, elt: dict, name: str):
if name in self.model:
return self.model["name"]
return self.model[name]
if elt["type"] == "string":
if "format" in elt and elt["format"] == "date-time":
# Treat datetime strings separately
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment