openapi-generator-cli -g python-fastapi generator cannot generate the valid enum class.
# coding: utf-8
from __future__ import annotations
from datetime import date, datetime # noqa: F401
import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401
from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
class ExampleTestEnumeration(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
ExampleTestEnumeration - a model defined in OpenAPI
"""
ExampleTestEnumeration.update_forward_refs()
Bug Report Checklist
Description
openapi-generator-cli -g python-fastapi generator cannot generate the valid enum class.
openapi-generator version
5.2.0
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs