Skip to content
Snippets Groups Projects
Commit 67fbaf91 authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: handle int_arrays

parent 3e2f6d15
No related branches found
No related tags found
No related merge requests found
Pipeline #271466 passed with warnings
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
......
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