slackhq / slack-api-docs

API Docs for Slack.com
https://api.slack.com/
426 stars 85 forks source link

Slack API response samples are invalid JSON #73

Open mre opened 7 years ago

mre commented 7 years ago

I've noticed that some sample responses from the API are invalid JSON. For example, check files.upload (invalid because of '...') or im.history (invalid because of a trailing comma in the second message).

I realize that the samples are no real specification but just a general guideline for what to expect as a response. Nevertheless it would be quite helpful to have valid samples for things like code generation (see https://github.com/slack-ruby/slack-api-ref/issues/17)

Is there a way to fix that?