awtkns / fastapi-crudrouter

A dynamic FastAPI router that automatically creates CRUD routes for your models
https://fastapi-crudrouter.awtkns.com
MIT License
1.34k stars 156 forks source link

Add the possibility to customize the "item_id" parameter name #163

Open marcelkwaschny opened 1 year ago

marcelkwaschny commented 1 year ago

Hi everyone,

it would be very nice to have the possibility to customize the "item_id" parameter name in order to have a better api documentation.

Thanks Marcel

pawelkoston commented 1 year ago

It would be even better if support for non integer primary key was possible (UUID for example).