def __definitions_descriptor(self):
<EOL>result = {}<EOL>for def_key, def_value in self.__parser.schemas().iteritems():<EOL><INDENT>if '<STR_LIT>' in def_value or '<STR_LIT:type>' in def_value:<EOL><INDENT>key_result = {}<EOL>required_keys = set()<EOL>if '<STR_LIT:type>' in def_value:<EOL><INDENT>key_result['<STR_LIT:type>'] = def_value['<STR_LIT:type>']<EOL><DEDENT>if '<STR_LIT>' in def_value:<EOL><INDENT>for prop_key, prop_value in def_value['<STR_LIT>'].items():<EOL><INDENT>if isinstance(prop_value, dict) and '<STR_LIT>' in prop_value:<EOL><INDENT>required_keys.add(prop_key)<EOL>del prop_value['<STR_LIT>']<EOL><DEDENT><DEDENT>key_result['<STR_LIT>'] = def_value['<STR_LIT>']<EOL><DEDENT>if required_keys:<EOL><INDENT>key_result['<STR_LIT>'] = sorted(required_keys)<EOL><DEDENT>result[def_key] = key_result<EOL><DEDENT><DEDENT>for def_value in result.itervalues():<EOL><INDENT>for prop_value in def_value.itervalues():<EOL><INDENT>if isinstance(prop_value, dict):<EOL><INDENT>if '<STR_LIT>' in prop_value:<EOL><INDENT>prop_value['<STR_LIT:type>'] = '<STR_LIT:object>'<EOL><DEDENT>self._add_def_paths(prop_value)<EOL><DEDENT><DEDENT><DEDENT>return result<EOL>
Describes the definitions section of the OpenAPI spec.

        Returns:
          Dictionary describing the definitions of the spec.