Hey lobsters. I wrote this a while ago to scratch my own itch. I think defining api specifications by manually entering extra meta-data is non sense. The definitions are already there, in the code. I wrote this tiny python module to materialize this idea. Parsing input data and specifying input data, are two tasks that ultimately build on the same single source of truth.
This consists of a single annotation and takes 5 minutes to master. You can also read the entire source code in a few minutes.
These 200 lines of python code have been very useful to me, maybe they can save you time too.