FastAPI path parameter translation to enumaration member
I started to learn FastAPI by reading the official documentation. I’m having a bit of difficulty understanding the example which illustrate how to work with Python enumarations. The example in the official documentation is a follows: