docs: def get_definition_name_from_ref(ref):
          """Get the definition name of the given $ref value(Swagger value).
  
          Args:
              ref: ref value (ex: "#/definitions/CustomDefinition")
  
          Returns:
              The definition name corresponding to the ref.
          """
          p = re.compile('#\/definitions\/(.*)')
          definition_name = re.sub(p, r'\1', ref)
          return definition_name