beginner-corp / slack

:tada:✨ Slack API client for Node and browsers.

Home Page:https://www.npmjs.com/package/slack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for OAuth V2 endpoints (and possibly other new ones)

Dam-Buty opened this issue · comments

Hi all !

I see that the API.json file has not been generated in more than a year, and it is missing the new OAuth endpoint oauth.v2.access, and possibly others.

As a side-note, the script used to generate the api.json file seems to be based on HTML parsing of this page. This mechanic could end up being broken by any random change in the HTML structure of the page. It has come to my attention that the whole Slack API is documented using the OpenAPI format here . Maybe this could be an improvement to the generate_-api-json script ?

indeed, when this client was created slack didn't have one nor did they have any OpenAPI docs. I'd be happy to accept a PR that updates this.

thanks for the answers ! i'll try and find some time to contribute ;)