Discussion

RichAPI: Find HTTP Exceptions and turn them into documented responses

Introducing RichAPI!

A big thank you to Sebastián Ramírez Montaño for creating FastAPI, which made seamless documentation possible. Inspired by his work and Marcelo Trylesinski similar library(Fast-Responses), I developed RichAPI – a tool that uses AST to analyze your FastAPI code and enhance Swagger with all possible responses, not just 2xx. By parsing your router's code, RichAPI automatically detects raised HTTP exceptions, and use that to provide a complete overview of your API’s behavior.

Take seamless documentation experience to next level !

Github Repo URL: https://github.com/ManiMozaffar/richapi

Documentation: https://manimozaffar.github.io/richapi/latest/

If you find it useful, please the repo! Your support motivates me to keep improving open-source frameworks.

Share your thought what do you think about the library?

1 points manimozaffar 2 years ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton