Convert old style jsonschema required params to new style.
This commit is contained in:
parent
5bb4008880
commit
ddf5f2053c
11 changed files with 79 additions and 59 deletions
|
@ -35,12 +35,14 @@ class OrganizationTeam(ApiResource):
|
|||
'id': 'TeamDescription',
|
||||
'type': 'object',
|
||||
'description': 'Description of a team',
|
||||
'required': True,
|
||||
'required': [
|
||||
'role',
|
||||
'description',
|
||||
],
|
||||
'properties': {
|
||||
'role': {
|
||||
'type': 'string',
|
||||
'description': 'Org wide permissions that should apply to the team',
|
||||
'required': True,
|
||||
'enum': [
|
||||
'member',
|
||||
'creator',
|
||||
|
@ -50,7 +52,6 @@ class OrganizationTeam(ApiResource):
|
|||
'description': {
|
||||
'type': 'string',
|
||||
'description': 'Markdown description for the team',
|
||||
'required': True,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Reference in a new issue