Commit ebe165ad authored by Romain Courteaud's avatar Romain Courteaud

erp5_json_rpc_api: rename type information

parent d681a56c
...@@ -322,11 +322,11 @@ class OpenAPIParameter(dict): ...@@ -322,11 +322,11 @@ class OpenAPIParameter(dict):
return SchemaWithComponents(self._schema, self.get('schema', {})) return SchemaWithComponents(self._schema, self.get('schema', {}))
class OpenAPITypeInformation(ERP5TypeInformation): class JsonRpcAPITypeInformation(ERP5TypeInformation):
""" """
""" """
portal_type = 'Open API Type' portal_type = 'JSON RPC API Type'
meta_type = 'ERP5 Open API Type' meta_type = 'ERP5 JSON RPC API Type'
# Default Properties # Default Properties
property_sheets = ( property_sheets = (
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>OpenAPITypeInformation</string> </value> <value> <string>JsonRpcAPITypeInformation</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>document.erp5.OpenAPITypeInformation</string> </value> <value> <string>document.erp5.JsonRpcAPITypeInformation</string> </value>
</item> </item>
<item> <item>
<key> <string>sid</string> </key> <key> <string>sid</string> </key>
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
</item> </item>
<item> <item>
<key> <string>type_class</string> </key> <key> <string>type_class</string> </key>
<value> <string>OpenAPITypeInformation</string> </value> <value> <string>JsonRpcAPITypeInformation</string> </value>
</item> </item>
<item> <item>
<key> <string>type_interface</string> </key> <key> <string>type_interface</string> </key>
......
document.erp5.OpenAPIService document.erp5.JsonRpcAPITypeInformation
document.erp5.OpenAPITypeInformation document.erp5.OpenAPIService
\ No newline at end of file \ No newline at end of file
Markdown is supported
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