OpenAPI Schema Generation for Abstract Wikipedia/Wikifunctions/Wikilambda
python generate.py [--form=<NORMAL|CANONICAL>] [command]
Lists all ZIDs for which a schema can be generated with the given form.
Generates an OpenAPI schema for a given ZID.
Arguments:
root_directory
(string): where to save the generated .yaml filestag
(string): tag to be used to generates unique IDs for schemata. IDs are of the formtag
/ZID
ZID
(string): ZID for which to generate the schemadry_run
(bool): if true, prints to stdout; if false, write toroot_directory
/ZID
.yaml