jolicode / slack-php-api

:hash: PHP Slack Client based on the official OpenAPI specification
https://jolicode.github.io/slack-php-api/
MIT License
223 stars 56 forks source link

Update workflows.* endpoints to use POST method instead of GET #147

Closed matthewnessworthy closed 2 years ago

matthewnessworthy commented 2 years ago

First updated the SDK with the latest updates

rm -Rf generated/*
vendor/bin/jane-openapi generate --config-file=.jane-openapi.php
./bin/slack-api-client-generator spec:generate-patch
./bin/slack-api-client-generator spec:update

Then after updating the relevant HTTP methods in resources/slack-openapi-patched.json

./bin/slack-api-client-generator spec:generate-patch
./bin/slack-api-client-generator spec:update
vendor/bin/jane-openapi generate --config-file=.jane-openapi.php

Reference: https://api.slack.com/methods?query=work

matthewnessworthy commented 2 years ago

@damienalexandre please review

damienalexandre commented 2 years ago

Looks good! Thanks a lot!