code: def load_yaml(self):
          '''
          Load OpenAPI specification from yaml file. Path to file taking from command
          `vst_openapi`.
          :return:
          '''
          env = self.state.document.settings.env
          relpath, abspath = env.relfn2path(directives.path(self.arguments[0]))
  
          env.note_dependency(relpath)
  
          encoding = self.options.get('encoding', env.config.source_encoding)
          with io.open(abspath, 'rt', encoding=encoding) as stream:
              spec = yaml.load(stream, _YamlOrderedLoader)
          self.spec = spec
          self.paths = spec[self.path_path]
          self.definitions = spec[self.models_path]
          self.openapi_version = spec.get('swagger', None) or spec['openapi']
          self.options.setdefault('uri', 'file://%s' % abspathf load_yaml(self):
          '''
          Load OpenAPI specification from yaml file. Path to file taking from command
          `vst_openapi`.
          :return:
          '''
          env = self.state.document.settings.env
          relpath, abspath = env.relfn2path(directives.path(self.arguments[0]))
  
          env.note_dependency(relpath)
  
          encoding = self.options.get('encoding', env.config.source_encoding)
          with io.open(abspath, 'rt', encoding=encoding) as stream:
              spec = yaml.load(stream, _YamlOrderedLoader)
          self.spec = spec
          self.paths = spec[self.path_path]
          self.definitions = spec[self.models_path]
          self.openapi_version = spec.get('swagger', None) or spec['openapi']
          self.options.setdefault('uri', 'file://%s' % abspath)
docs: Load OpenAPI specification from yaml file. Path to file taking from command
          `vst_openapi`.
          :return: