Reference
Below is a reference for the major classes and functions within this module.
It is split into three main sections:
The
schemamodule contains data classes that make up the internal representation for anAPI. The API contains thin wrappers around protocol buffer descriptors; the goal of the wrappers is to mostly expose the underlying descriptors, but make some of the more complicated access and references easier in templates.The
generatormodule contains most of the logic. ItsGeneratorclass is the thing that takes a request fromprotocand gives it back a response.The
utilsmodule contains utility functions needed elsewhere, including some functions that are sent to all templates as Jinja filters.
Note
Templates are housed in the templates directory, which is a sibling
to the modules listed above.