Skip to content

Update views.* endpoints to use POST method instead of GET#146

Merged
damienalexandre merged 2 commits intojolicode:mainfrom
matthewnessworthy:view-post
Mar 30, 2022
Merged

Update views.* endpoints to use POST method instead of GET#146
damienalexandre merged 2 commits intojolicode:mainfrom
matthewnessworthy:view-post

Conversation

@matthewnessworthy
Copy link
Copy Markdown
Contributor

Fixes #111
Replaces #130 (because of merge conflicts)

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

@matthewnessworthy
Copy link
Copy Markdown
Contributor Author

@damienalexandre please review

@damienalexandre
Copy link
Copy Markdown
Member

#147 has been merged, you have to rebuild this PR from "main". Sorry about that 😋

@matthewnessworthy
Copy link
Copy Markdown
Contributor Author

@damienalexandre no worries, all done

Copy link
Copy Markdown
Member

@damienalexandre damienalexandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method on viewPublish/viewPush/viewUpdate is still "GET" but the parameters have been changed to "form parameter", am I missing something? viewOpen looks good.

@damienalexandre damienalexandre merged commit f0777a4 into jolicode:main Mar 30, 2022
@damienalexandre
Copy link
Copy Markdown
Member

Thanks a lot!

@matthewnessworthy
Copy link
Copy Markdown
Contributor Author

Glad i could help, thanks for the support and hand-holding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request-URI Too Large

3 participants