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

FIX: swagger: correct model definitions

parent 446e5de2
Pipeline #59454 failed with stages
in 56 seconds
......@@ -213,7 +213,7 @@ swagger['paths'] = {f"/{f['system']}/{f['object_type']}/{f['name']}":
'schema': {
'type': 'array',
'items': {
'$ref': '#/definitions/' + f['object_type']
'$ref': '#/definitions/' + f['system']+'.'+f['object_type']
}
} if f['is_returning'] else None
},
......@@ -242,7 +242,7 @@ def renderDataType(d):
return dat
swagger['definitions'] = {o['name']:
swagger['definitions'] = {o['fq_name']:
{
'type': 'object',
'description': o['description'],
......
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