langchain/tools/openapi/utils/api_models.py/APIProperty/_get_schema_type_for_enum
class APIProperty:    def _get_schema_type_for_enum(parameter: Parameter, schema: Schema) -> Enum:
        """Get the schema type when the parameter is an enum."""
        param_name = f"{parameter.name}Enum"
        return Enum(param_name, {str(v): v for v in schema.enum})