fix a bug in the CredentialType field validator that breaks required

see: #6769
This commit is contained in:
Ryan Petrello
2017-06-30 12:23:44 -04:00
parent de84f3cf4a
commit dade5c12a7
2 changed files with 28 additions and 0 deletions

View File

@@ -542,6 +542,10 @@ class CredentialTypeInputField(JSONSchemaField):
'type': 'object',
'additionalProperties': False,
'properties': {
'required': {
'type': 'array',
'items': {'type': 'string'}
},
'fields': {
'type': 'array',
'items': {