slackapi / slack-api-specs

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

Missing response_metadata and its next_cursor property in users.list response schema #16

Open pyrech opened 6 years ago

pyrech commented 6 years ago

Description

It looks like the /users.list response miss the definition of the object response_metadata and its next_cursor property.

FYI, the property is mentionned in the openapi example and in the official API documentation. To fix this, you probably only need to add this definition in the schema (inspired from next_cursor defintion in other endpoints):

 "response_metadata": {
    "properties": {
        "next_cursor": {
            "type": "string",
            "x-examples": [
                "dXNlcjpVMEc5V0ZYTlo="
            ]
        }
    },
    "required": [
        "next_cursor"
    ],
    "type": "object"
}

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

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