virtualenv venv
source ./venv/bin/activate
pip install -r requirements.txt
./generate_openapi.py
- Grab the Slack OpenAPI spec from GitHub
- Use the OpenAPI spec to give us a list of "methods"
- The OpenAPI spec does NOT contain "default" values for parameters, so we need to get those from elsewhere
- Goto the public HTTP API reference https://api.slack.com/methods and parse the HTML for the Default parameter values
- Combine the "default" values from the HTTP API reference with the OpenAPI information
- Render a Jinja template
template.jinja
with the combined data - Write the rendered Jinja template to
../actions/<method>.yaml