slackapi / slack-api-specs

Open API specifications for platform products by Slack
MIT License
222 stars 64 forks source link

Response of chat.update is underspecified #49

Open pluehne opened 3 years ago

pluehne commented 3 years ago

Description

The response type of the chat.update endpoint is underspecified:

https://github.com/slackapi/slack-api-specs/blob/760ee9843ec8045ce3f62edd451751b0353acead/web-api/slack_web_openapi_v2_without_examples.json#L11662-L11696

Specifically, the types of message.attachments and message.blocks are set to a generic object type. I think these could be specified more narrowly, ideally using one of the already existing definitions such as #/definitions/objs_message or #/definitions/blocks.

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])