API Change Tutorial doc code modify
The refactor of code cause the inappropriate guide. Code in tutorial is out of date. Change-Id: Ic986af1072f158f0f0f5608a9754db9d3e507409 Closes-Bug: #1597196
This commit is contained in:
parent
5583cd1df0
commit
4db765198d
|
@ -155,20 +155,9 @@ representation or not. Role create and role update schemas are available at
|
|||
|
||||
You will need to update their properties to include a `description` attribute::
|
||||
|
||||
role_create = {
|
||||
'properties': {
|
||||
'name': parameter_types.name,
|
||||
'description': parameter_types.description
|
||||
}
|
||||
...
|
||||
}
|
||||
|
||||
role_update = {
|
||||
'properties': {
|
||||
'name': parameter_types.name,
|
||||
'description': parameter_types.description
|
||||
}
|
||||
...
|
||||
_role_properties = {
|
||||
'name': parameter_types.name,
|
||||
'description': parameter_types.description
|
||||
}
|
||||
|
||||
Besides doing the entity validation using such schemas, controllers pass and
|
||||
|
|
Loading…
Reference in New Issue