I tried to generate a client for the OpenAPI specification of Jira datacenter, but had trouble with it, because the definition of various search endpoints wrongly returns just a single item instead of an array.
For example, the user search currently looks like this
"responses": {
"200": {
"description": "Returns a list of users.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserBean"
}
}
}
}
...
}But it should be
"responses": {
"200": {
"description": "Returns a list of users.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserBean"
}
}
}
}
}
...
}
Can you please fix that?