-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update SDK to latest Slack version #145
Conversation
matthewnessworthy
commented
Mar 26, 2022
@damienalexandre / @mpyw seems there is an incompatibility with jane-php, please advise
|
@damienalexandre / @mpyw issue resolved after updating |
Thanks a lot @matthewnessworthy for your contributions 🎉 Tests are green on that last commit 👏 💚 ; I'm just wondering about the Jane error, @Korbeil do you have an idea what was going on? (see https://github.com/jolicode/slack-php-api/runs/5709079316?check_suite_focus=true). |
@damienalexandre it was just |
I don't see the new specification in your PR. Did you forgot to commit the |
In fact the official spec didn't move since october 2020: https://github.com/slackapi/slack-api-specs/blob/master/web-api/slack_web_openapi_v2.json So you are not updating the spec, but adding a new manual overwrite, right? |
I ran the following
It did not modify This PR fixes the failing workflow step ( |
Running the same commands as you I don't have any specification update (and that's the expected behavior as Slack didn't update their OpenAPI). I think you mixed some stuffs. Here is what should be done to fix the SDK generation: +++ w/composer.json
@@ -34,7 +34,7 @@
"php-http/multipart-stream-builder": "^1.1"
},
"require-dev": {
- "jane-php/open-api-2": "~7.1.5",
+ "jane-php/open-api-2": "~7.1",
"symfony/http-client": "^5.4 || ^6.0",
"nyholm/psr7": "^1.2",
"friendsofphp/php-cs-fixer": "^3.2.2",
That's all. Could you rebuild this Pull Request with this change only so we can merge and then look at the other changes? Thanks a lot! |
@damienalexandre no problem, done |
Perfect, thanks a lot for this fix 👍 |