mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
This file will act as the container for all JS API examples to use in our documentation, similar to our python and curl API testing and examples generation code. This module has two modes of operation: - node javascript_examples.js generate-responses This mode runs all the examples against a server and prints the JSON output of all the examples we ran. - node javascript_examples.js generate-example <endpoint> This mode prints example code for endpoints like: /users:post. We then want to render this full example code in our docs.
3.0 KiB
3.0 KiB