code: def definition_rst(self, definition, spec_path=None):
          '''
          Prepare and write information about definition
          :param definition: --name of definition that would be prepared for render
          :type definition: str, unicode
          :param spec_path: --path to definitions
          :type spec_path: str, unicode
          :return:
          '''
          spec_path = spec_path or self.models_path
          definitions = self.spec[spec_path]
          definition_property = definitions[definition]['properties'].copy()
          if not definition_property:
              self.write('{}', self.indent_depth)
              return
          self.indent_depth += 1
          definition_property = self.find_nested_models(definition_property, definitions)
          json_str = json.dumps(definition_property, indent=4)
          for line in json_str.split('\n'):
              self.write(line, self.indent_depth)
          self.indent_depth -= f definition_rst(self, definition, spec_path=None):
          '''
          Prepare and write information about definition
          :param definition: --name of definition that would be prepared for render
          :type definition: str, unicode
          :param spec_path: --path to definitions
          :type spec_path: str, unicode
          :return:
          '''
          spec_path = spec_path or self.models_path
          definitions = self.spec[spec_path]
          definition_property = definitions[definition]['properties'].copy()
          if not definition_property:
              self.write('{}', self.indent_depth)
              return
          self.indent_depth += 1
          definition_property = self.find_nested_models(definition_property, definitions)
          json_str = json.dumps(definition_property, indent=4)
          for line in json_str.split('\n'):
              self.write(line, self.indent_depth)
          self.indent_depth -= 1
docs: Prepare and write information about definition
          :param definition: --name of definition that would be prepared for render
          :type definition: str, unicode
          :param spec_path: --path to definitions
          :type spec_path: str, unicode
          :return: