Commit 67fbaf91 authored by janis.streib's avatar janis.streib 🦉
Browse files

FIX: handle int_arrays

parent 3e2f6d15
Pipeline #59513 passed with stages
in 4 minutes and 36 seconds
import json
import re
import requests
import os
......@@ -277,6 +278,10 @@ def renderDataType(d):
dat['items'] = {
'type': 'string'
}
if re.match(r'^integer.*_array$', d['dataType']['name']) is not None:
dat['items'] = {
'type': 'integer'
}
return dat
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment