ReferenceΒΆ
Below is a reference for the major classes and functions within this module.
It is split into three main sections:
- The
schema
module 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
generator
module contains most of the logic. ItsGenerator
class is the thing that takes a request fromprotoc
and gives it back a response. - The
utils
module 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.