python fastapi-codegen でエラーがでてた。TypeError: Mode.__init__() got an unexpected keyword argument 'experimental_string_processing' fastapi-codegen fastapi-codegen

Python のバージョン 3.10.13 環境で、fastapi-codegen 公式サイトのサンプルを使い実行するとエラーがでてた。
fastapi-codegen --input api.yaml --output app を実行すると以下のエラー。
いろいろ試したが結果的には、pythonバージョン 3.7 の環境にすると実行できた。
理由はわからないけど、とりあえずメモ。

T

  2024-01-31 12:45:27