Kludex / fastapi-responses

Find HTTPExceptions and turn them into documented responses! :tada:
https://github.com/Kludex/fastapi-responses
MIT License
92 stars 11 forks source link

Create CallGraphCodemod #15

Open Kludex opened 1 year ago

Kludex commented 1 year ago

I'll not merge this into fastapi-responses. I'll create another package, and then use it here

The idea is to first map all function definitions and calls that are inside of those.

old-syniex commented 1 year ago

Will it make the package depends on libcst?

Kludex commented 1 year ago

No. The idea here is a bit different than what it current does.

I'd like to transfer the runtime behavior into a tooling that can automatically add the exceptions information into the FastAPI endpoint decorator.