Creating a string-valued enum for use with pydantic/FastAPI that is properly encoded in the OpenAPI spec is as easy as inheriting from str in addition to ...
確定! 回上一頁