15 lines
306 B
Python
15 lines
306 B
Python
import json
|
|
|
|
# some unused imports are needed to trigger registrations of api functions
|
|
import clan_cli.config.schema # noqa: F401
|
|
from clan_cli.api import API
|
|
|
|
|
|
def main() -> None:
|
|
schema = API.to_json_schema()
|
|
print(f"""{json.dumps(schema, indent=2)}""")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|