skip q parameter declaration if records

This commit is contained in:
Tom Kralidis
2021-02-21 19:45:41 -05:00
parent 9785c9afeb
commit 4f5ae70a07
+4
View File
@@ -485,6 +485,10 @@ def get_oas_30(cfg):
LOGGER.debug('Provider specified not to advertise property') # noqa
continue
if field == 'q' and ptype == 'record':
LOGGER.debug('q parameter already declared, skipping')
continue
if type == 'date':
schema = {
'type': 'string',