code: def _OpenAPISpecification_dumper(
      dumper: yaml.Dumper, spec: OpenAPISpecification
  ) -> yaml.Node:
      return dumper.represent_dict(spec.asdict())
  
imports: from __future__ import annotations
  import logging
  import typing
  import attr
  import cattr.errors
  import yaml
  from cattr.gen import make_dict_unstructure_fn
  from cattr.gen import override
  from ...utils import bentoml_cattr
label_desc: Use image node_id 3 for calling a global function with example usage: _OpenAPISpecification_dumper(dumper, spec) and returns: dumper